locked
Error Publishing MVC4 application RRS feed

  • Question

  • User-1096503380 posted

    Hey guys,

    I'm trying to publish my new MVC4 app to my company's web form based portal. Locally everything runs fine however, as soon as i try to publish i get this error:

    I have the folder setup as an application in IIS (version 6). I'm fairly certain that the connection strings are right since it runs fine locally. 

    Any Advice is appreciated!

    Monday, April 8, 2013 2:30 PM

Answers

  • User-1096503380 posted

    I managed to fix it.
    In my authentication I didn't have a debug check but in my data file I did have a debug check which resulted in the application pointing to different servers.

    Thanks for the advice 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, April 8, 2013 5:58 PM

All replies

  • User-1137493631 posted

    if you have <clear/> tag in your connection string tag in web.config , please remove that <clear/> tag

    Monday, April 8, 2013 4:07 PM
  • User-1096503380 posted

    Not sure how you came to that conclusion but I do not have a clear tag

    Monday, April 8, 2013 4:17 PM
  • User-1096503380 posted

    I managed to fix it.
    In my authentication I didn't have a debug check but in my data file I did have a debug check which resulted in the application pointing to different servers.

    Thanks for the advice 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, April 8, 2013 5:58 PM