This topic is locked
[SOLVED]

 Error after publishing to IIS

3/13/2018 3:34:16 PM
ASPRunner.NET General questions
J
Jan K. van Dalen author

Everything works correctly on my development environment. Once I publish (FTP) to our IIS server, I get the following error ... any ideas?
Could not find a part of the path 'E:\Sites\Calls\temp\0tg035v4.tmp'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\Sites\Calls\temp\0tg035v4.tmp'.
Source Error:
Line 67: @foreach (string _container_menu_1 in Model.GetSection("container_menu_1", this)){<DIV @(Model.displayVar("menu_1_chiddenattr")) data-pageid="@(Model.displayVar("pageid"))" data-container="menu_1" class="bs-navform navbar-collapse bs-hidden-xs bs-navcontrolled" aria-expanded="false">

Line 68: @foreach (string _menu_block in Model.GetSection("menu_block", this)){

Line 69: @(Model.displayVar("menu main horizontal"))

Line 70:

Line 71: }

jadachDevClub member 3/13/2018

Does the directory \temp\ exist on your web server?

admin 3/13/2018

Make sure that this directory is configured as an application in IIS. This should create that 'temp' folder and make it writable by IIS user. If this doesn't help you can create that 'temp' folder manually and make it writable.

J
Jan K. van Dalen author 3/13/2018

Thank you both and yes the application is setup as an application. The temp directory was missing which makes me feel a bid dumb <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=84595&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> because I should have check that 1st.
I was assuming that the ftp publishing would have take care of that ... my bad and again thank you for your help.