Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2.6.0 fresh setup - add objects isn't working
aksnet
#1 Posted : Monday, 14 November 2011 6:08:31 AM(UTC)
Rank: Member

Joined: 27/01/2011(UTC)
Posts: 17
Location: Germany

Hi Roger,
i had to rebuild my server 2008R2 SP1 in german.
I ran through all .net updates first to get the latest 3.5.1 & 4.0 versions.
After that i ran through the webinstaller for 2.6.0, i also tried a download of the files and tried a manual installation with the same result.

I get the website showing up without any problem, but when i try to add an object nothing happens. I can select the picture, it started to be uploaded, i see it in the _Temp folder but when the upload process is finished i see ... nothing, no new added picture.

I set debug=true to eventually get an error, but nothing. I gave the IIS_USERS group full access to the gallery install folder underneath inetpub, but nothing.

I checked the mime type for silverlight, even it's iis 7.5 it might be possible it was missing, but it is there.

I thought it might be the german language, but since 2008r2 is only using UI language packs and the core is english i didn't expect a change, but i did install the english UI pack, and no change.

I created a video so you can exactly see whats going on, it's the same with ie8, ie9 and firefox. Also the application log is showing something baout .net, this might help for debug.

Let me know what you like me to gather as logs or what i can try.

Thanks
Andi
File Attachment(s):
add-objects-Video_2011-11-14_120607.wmv (1,528kb) downloaded 3 time(s).
application-log.zip (6kb) downloaded 2 time(s).
Roger Martin
#2 Posted : Monday, 14 November 2011 10:06:11 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

First, thanks for one of the more complete issue reports I have seen. So much better than "uploading doesn't work".

The two biggest clues to me are these: (1) The event log contains the error "Request format is unrecognized for URL unexpectedly ending with '/ jsdebug'. (2) "The top 'Add to album' link doesn't work.

The first indicates some kind of server misconfiguration, which may or may not be causing the second one, which seems to be javascript failing for some reason.

I have three troubleshooting tips:

1. Use a tool like Firebug to look for javasacript or network errors in the browser. Any javascript file requests generating errors?

2. Make sure web.config is correct. Replace your version with the one from the download (updating the SQL Server connection string if necessary).

3. Search the internet for the error in the event log.

If you can share an URL to your website, I can help with #1.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
aksnet
#3 Posted : Sunday, 20 November 2011 3:09:50 AM(UTC)
Rank: Member

Joined: 27/01/2011(UTC)
Posts: 17
Location: Germany

Hello Roger,
first of all thank you for your reply. I have to apologize for my late response, cause i was ill the last couple of days and still feeling not good, but good enough to play again with the gallery :-)

1. I tried to play with firedebug, but this is a big to hugh for a beginner, so if you can help me with it would be great.
Unfortunately my Server is not yet running 24/7, so if you can send me a PN with a day you have time i would keep it running that day and give you all connection information you need via PN or Mail than back.

I will run through 2 & 3 now and will let you know what i found out.

Thanks
Andi
aksnet
#4 Posted : Sunday, 20 November 2011 3:49:02 AM(UTC)
Rank: Member

Joined: 27/01/2011(UTC)
Posts: 17
Location: Germany

Hi Roger,
so here is what i've done:

1. i compared the web.config which got created by the webinstaller with the one from the download package.
The ony from the download package only contained 3 extra line which seem to be used for external Database acces and not the sqlce.
I deleted those three, copied over the file to my gallery path and replaced the webgenerated, but it made no change.

2. i could see the same error in firedebug as in the eventlog:
"NetworkError: 500 Internal Server Error - http://alice/photo/gs/services/Gallery.asmx/js"

so i tried to search for iis7.5, 500, asmx : i thought maybe a mime type entry or handler entry in my iis 7.5 config is missing and indeed i have no asmx entry there anywhere but i'm also not sure if i need one, cause all the solutions i found in the web are talking about modifications in .config files.

My next step would be to setup a new 2008R2 VM and re-do the webinstaller, if this is working then i will compare the iis configuration file with my editor to see if there are any other settings made.

I also thought about a missing piece of software, like Java runtime or VC runtime.
I have jave installed, but i guess no VC runtime. Is any 3rd party runtime required so far?

Let me know if you have any other idea or want me to check something deeper.

I will get back to you as soon i have done the VM test.

- Andi
aksnet
#5 Posted : Sunday, 20 November 2011 3:55:47 AM(UTC)
Rank: Member

Joined: 27/01/2011(UTC)
Posts: 17
Location: Germany

one correction, i have .asmx as handler mapping
aksnet
#6 Posted : Sunday, 20 November 2011 4:19:09 AM(UTC)
Rank: Member

Joined: 27/01/2011(UTC)
Posts: 17
Location: Germany

Roger !
I got it :-)

searching a bit more for .asmx registration etc. showed me suddenly a new option to try.

I made sure i had the asp.net role installed and it was so i search for windows 2008 r2 datacenter asp.net and some other guys seem to have trouble with the datacenter edition and asp.net aswell.

I executed: "aspnet_regiis -i" from c:\windows\microsoft.net\framework\v4.0.30319

After restarting the IIS service it worked !

:-)

So the datacenter edition seems to have problems with only installing the asp.net role.

Thanks for your support !

jambalaya
#7 Posted : Sunday, 15 January 2012 12:34:08 PM(UTC)
Rank: Newbie

Joined: 15/01/2012(UTC)
Posts: 3

I was starting to pull my hair out until I landed on this post. I had the identical symptoms:

(1) The event log contains the error "Request format is unrecognized for URL unexpectedly ending with '/ jsdebug'.
(2) "The top 'Add to album' link doesn't work.

..and no amount of playing with permissions, resintalling or enabling debug was helping to get to the bottom of the problem. Anyway, executing: "aspnet_regiis -i" from c:\windows\microsoft.net\framework\v4.0.30319 and restarting the IIS service resolved the issue for me too, so thanks to Aksnet for posting the solution!

Roger, I suspect this problem occurred because I did the default Gallery Server Pro install, and then subsequently realized IIS (rather than IIS Express) was needed if you wanted to access the website remotely. The Webmatrix install was working but the subsequent IIS install had the above symptoms. I have Windows 7 Home Premium (IIS is not installed by default) so this could be a common installation-order related problem?
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.