IIS - Target frameword

Asked By prateek
03-Feb-12 03:07 AM
Hello

i create a application in visual studio framework 4.0 and i purchase web space for my application when i host my application and type url in browser then it give me error

Configuration Error


<compilation debug="true" targetFramework="4.0">


how can i configure my application
  dipa ahuja replied to prateek
03-Feb-12 03:27 AM

Solution

image

Source

  prateek replied to dipa ahuja
03-Feb-12 03:30 AM
but i dont have permission of IIS...i have only control panel of my hosting application
  kalpana aparnathi replied to prateek
03-Feb-12 03:35 AM
For your solution try this :

managedRuntimeVersion attribute of <add> element under <applicationPools>


hope will works,

Thanks,
  D Company replied to prateek
03-Feb-12 03:40 AM
Hello Prateek,


first check the version from IIS for your app,

IIS >  Right click on WebSite > Properties > ASP.NET > Version and if it is the same version than no problem, else change it.

Second Set the Application Pool to ASP.NET v4.0(your version) in the IIS. how to do this here MSDN will help you.


Regards
D
Create New Account
help
IIS Site Migration - application pool issues - Service Unavailable IIS Hi. I am moving a site from one Windows 2003 server to another, ASP.Net 2.0.50727, IIS 6.0, with a separate application pool, SQL 2005 Steps Taken: - Created IIS Web application - Created Application Pool - Copied directory structure (web config connect string points to local server) - Restored database - Created local network user to IIS_WPG - Gave local user, IIS_WPG permission to web directory - Updated IIS Web application with home directory, users, and application pool - Browse: Error - Service Unavailable I am getting a
Application pool error Am getting this error on my IIS 7 application server. "A process serving application pool '%1' suffered a fatal communication error with the Windows Process Activation Service" Why does it occur and how do i resolve
Howto refresh IIS 6 Application pool identity credential info ? IIS Hi, We are having problems with the following situation. If we change security settings for an application pool identity (something like putting it in a security group (to have NTFS access on a is important.). It seems like we have the following scenario : On start of IIS, all application pool identities are given a logon session. I can see that using logonsessions.exe from sysinternals Directory (1) System.Security.Cryptography (1) You should just be able to restart the web application pool in question. Cheers Ken Ken, Thx for the response, but stopping / starting the application pool
Application pool being disabled .NET Framework I have 2 web servers on which I am running a .net version 2 application, both of which I want to use an application pool with the same domain user's id and password to tighten security. I have this working fine on one web server (http), but keep getting the error below on the other (https). I cannot see any difference in how I have set up the application pool, and the messages below do not shed any light on the matter. Can you help
Application Pool trouble connecting database IIS Sometimes when the W2003 is restarted the IIS applications cannot connected to MSSQL. When the Application Pool is manually stopped and again started the connection to MSSQL succeeds. (Recycle this Application Pool doesn't give this result.) I think this has to do with IIS requests from restarting with an IIS service started but the MSSQL is not yet ready. Via the Application Pool a MSSQL connection is being initiated, but failes. This state remaines until manual stop / start