943,957 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 2113
  • ASP.NET RSS
Jul 2nd, 2009
0

ASP.Net web config problem

Expand Post »
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:
ASP.NET Syntax (Toggle Plain Text)
  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>
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
gingank is offline Offline
108 posts
since Jun 2009
Jul 3rd, 2009
0

Re: ASP.Net web config problem

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.
Reputation Points: 165
Solved Threads: 113
Posting Pro
Ramesh S is offline Offline
580 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Problem in asp.net server?
Next Thread in ASP.NET Forum Timeline: hyperlink in asp net





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC