ASP.Net web config problem

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2009
Posts: 95
Reputation: gingank is an unknown quantity at this point 
Solved Threads: 0
gingank's Avatar
gingank gingank is offline Offline
Junior Poster in Training

ASP.Net web config problem

 
0
  #1
Jul 2nd, 2009
Hi guy i got problem on the web configure when upload to iis and it come out this error Server Error in '/myTT' Application
Configuration Error
Error line 31=<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies></compilation>


Below is my web config code:
  1. <?xml version="1.0"?>
  2. <!--
  3. Note: As an alternative to hand editing this file you can use the
  4. web admin tool to configure settings for your application. Use
  5. the Website->Asp.Net Configuration option in Visual Studio.
  6. A full list of settings and comments can be found in
  7. machine.config.comments usually located in
  8. \Windows\Microsoft.Net\Framework\v2.x\Config
  9. -->
  10. <configuration>
  11. <appSettings/>
  12. <connectionStrings>
  13. <add name="myTT_CS" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\TechServices.mdf;Integrated Security=True;User Instance=True"
  14. providerName="System.Data.SqlClient" />
  15. </connectionStrings>
  16. <system.web>
  17. <!--
  18. Set compilation debug="true" to insert debugging
  19. symbols into the compiled page. Because this
  20. affects performance, set this value to true only
  21. during development.
  22.  
  23. Visual Basic options:
  24. Set strict="true" to disallow all data type conversions
  25. where data loss can occur.
  26. Set explicit="true" to force declaration of all variables.
  27. -->
  28. <compilation debug="true" strict="false" explicit="true">
  29. <assemblies>
  30. <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  31. <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies></compilation>
  32. <pages>
  33. <namespaces>
  34. <clear/>
  35. <add namespace="System"/>
  36. <add namespace="System.Collections"/>
  37. <add namespace="System.Collections.Specialized"/>
  38. <add namespace="System.Configuration"/>
  39. <add namespace="System.Text"/>
  40. <add namespace="System.Text.RegularExpressions"/>
  41. <add namespace="System.Web"/>
  42. <add namespace="System.Web.Caching"/>
  43. <add namespace="System.Web.SessionState"/>
  44. <add namespace="System.Web.Security"/>
  45. <add namespace="System.Web.Profile"/>
  46. <add namespace="System.Web.UI"/>
  47. <add namespace="System.Web.UI.WebControls"/>
  48. <add namespace="System.Web.UI.WebControls.WebParts"/>
  49. <add namespace="System.Web.UI.HtmlControls"/>
  50. </namespaces>
  51. </pages>
  52. <!--
  53. The <authentication> section enables configuration
  54. of the security authentication mode used by
  55. ASP.NET to identify an incoming user.
  56. -->
  57. <authentication mode="Windows"/>
  58. <!--
  59. The <customErrors> section enables configuration
  60. of what to do if/when an unhandled error occurs
  61. during the execution of a request. Specifically,
  62. it enables developers to configure html error pages
  63. to be displayed in place of a error stack trace.
  64.  
  65. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  66. <error statusCode="403" redirect="NoAccess.htm" />
  67. <error statusCode="404" redirect="FileNotFound.htm" />
  68. </customErrors>
  69. -->
  70. </system.web>
  71. </configuration>
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 439
Reputation: Ramesh S will become famous soon enough Ramesh S will become famous soon enough 
Solved Threads: 82
Ramesh S Ramesh S is offline Offline
Posting Pro in Training

Re: ASP.Net web config problem

 
0
  #2
Jul 3rd, 2009
It seems that your application uses ASP.NET Ajax Framework assembly.

Have you installed ASP.NET Ajax Framework 1.0 in your system?
Last edited by Ramesh S; Jul 3rd, 2009 at 1:09 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC