I have made a web application in visual studio 2010 professional using .net framework 4 as the target framework. The database is placed inside the APP_DATA folder with an ADO.net connection for the GridView tables that I have used inside the application.
Anyways, EVERYTHING WORKS FINE ON THE LOCAL HOST, when i run the application from visual studio.
I published it using the publish tool to a network share on my enterprise server, which runs Windows Server 2003 and IIS 6. I installed .NET framework 4 on it and registered it using the aspnet_regiis facility, using both -e and -i parameters. There was
no Framework64 folder, so I'm asuming that there was no need to register it for the 64bit version.
It still doesn't run, instead shows up either of two scenarios:
1.Page not found error 404...WTF!
2. When I open up the web app directory on the server, all of my .aspx files show up as notepad files, instead of web browsable files. When I open ANY aspx file on my server (which is windows server 2003) directory, it opens up notepad and shows the source
code.
By the way, it is listed under websites in the IIS manager on my server machine.
omarkhurshid
0 Points
1 Post
Web Application not running on server! Please help !!
Feb 01, 2013 08:43 AM|LINK
Hello everyone,
I have made a web application in visual studio 2010 professional using .net framework 4 as the target framework. The database is placed inside the APP_DATA folder with an ADO.net connection for the GridView tables that I have used inside the application. Anyways, EVERYTHING WORKS FINE ON THE LOCAL HOST, when i run the application from visual studio.
I published it using the publish tool to a network share on my enterprise server, which runs Windows Server 2003 and IIS 6. I installed .NET framework 4 on it and registered it using the aspnet_regiis facility, using both -e and -i parameters. There was no Framework64 folder, so I'm asuming that there was no need to register it for the 64bit version.
It still doesn't run, instead shows up either of two scenarios:
1.Page not found error 404...WTF!
2. When I open up the web app directory on the server, all of my .aspx files show up as notepad files, instead of web browsable files. When I open ANY aspx file on my server (which is windows server 2003) directory, it opens up notepad and shows the source code.
By the way, it is listed under websites in the IIS manager on my server machine.
Please tell me what to do.
oned_gk
All-Star
30969 Points
6338 Posts
Re: Web Application not running on server! Please help !!
Feb 01, 2013 09:09 AM|LINK