Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deploying an ASP.NET page.

Status
Not open for further replies.

qwert231

Programmer
Sep 4, 2001
756
US
Okay, so I put together a page, on my system (localhost) I want to try it on my production server. (Just a page... nothing fancy.) I put the page in my sites folder, put the .dll file for the application in the /bin/ folder (there is only the one page in this solution which was built entirely in VB.Net) I have a web.config file, yet when I browse to the page I get this:
Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the system event log of the web server. Please review this log entry to discover what caused this error to occur.
 
In Event Viewer of the Web server I get these messages:
aspnet_wp.exe could not be started. HRESULT for the failure: 80004005

aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.

Please, any help? Thanks.

P.S. It's almost good to be back.... ;)
 
Assuming that your pages are in the correct respective places, make sure the ASPNET user has the correct permissions and that the web site is in a reachable virtual directory. Also make sure IIS is running properly and that the .NET framework is installed on the web server.

Also, MSDN has some articles on deploying ASP .NET applications, if you are still having troubles you might want to check them out.

Hope this helps.
NatGreen
 
Nat, the rambuk article helped a great deal. But now I get this:
aspnet_wp.exe could not be started. HRESULT for the failure: 80070545

Which is a little different. Not permissions, so I have to get into that. Thanks, and if you have any info on that Failure number (anybody know where we can look up what those mean?) let me know. THanks.
 
K, for time being we have set the Process Model username to SYSTEM... no, not good, but at least it got us to the next point... Now we get this:
Parser Error Message: The located assembly's manifest definition with name 'blahblahblah' does not match the assembly reference.

Source Error:
Line 199: <add assembly=&quot;*&quot;/>


Okay, so I copied the files from my test system to here. This is saying the machine.config needs info about an assembly... anybody wanna help this newbie... thanks.

 
PS, that 80070545 error seems to be that permissions were not set to the SystemRoot\Microsoft.NET\Framework\v1.0.3705 folder. Once I set my ASPNET account to that and set my machine.config back to using that it worked KO! Think I should do an FAQ about that error? I think it would be the first on the net about 80070545.
 
Found I could add Assemblies into the web.config file and that resolved my problems.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top