• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

Server error in '/' Application

When I began deploying my remote website, I encountered this error.

To solve it, I carefully granted access to the ASPNET machine account, configured IIS to consider the folder as an application, granted permission for scripts and read access to the Home Directory, etc.  I had the default.aspx page showing when the browser was launched and was even able to login.

However, I had errors when I tried to access a menu item from the default page.  To correct it, I assigned a password to the ASPNET account (b/c the db refused the connection) and tried to align my connection string with it.

Now, I'm back to the original error.  I've tried to double-check permissions, etc. but am getting no joy.  

What am I missing?

Capt
<section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
	</configSections>
	<!--
  Now that we have added the section tag, we can add the infragistics.web tag, without 
  the framework complaining.  We will specify two properties here, imageDirectory and 
  javaScriptDirectory.  Both of these properties are rooted at the current application 
  directory, specified by ~/.
  
  Both properties do not need to be specified.  I.E.,you can specify javaScriptDirectory, without
  specifying imageDirectory.  Also note that the property specifies the javaScriptDirectory, 
  not a specific path to a file.  All Infragistics WebElements JavaScript files should reside
  in the directory specified here.  This includes the common scriptfile (ig_csom.js).
  -->
	<connectionStrings>
    		<add name="SLLConnectionString" connectionString="Data Source=SLL-FILESERVER;Initial Catalog=ASPNET;UserID=ASPNET;Password=password; Integrated Security=True" providerName="System.Data.SqlClient"/>
    		<!--
			<add name="SLLConnectionString" connectionString="Data Source=GIBB-DEV;Initial Catalog=SLL;Integrated Security=True" providerName="System.Data.SqlClient"/>
    		-->
  </connectionStrings>
	
  <infragistics.web imageDirectory="~/ig_common/images" javaScriptDirectory="~/ig_common/scripts"/>
	<system.web>
		<roleManager enabled="true"/>
		<compilation defaultLanguage="c#" debug="false">
			<assemblies>
				<add assembly="Infragistics.WebUI.Shared.v4.3, Version=4.3.20043.61, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>
				<add assembly="Infragistics.WebUI.UltraWebToolbar.v4.3, Version=4.3.20043.61, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"/>
				<add assembly="System.Web, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
				<add assembly="System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
				<add assembly="System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
				<add assembly="System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
				<add assembly="System.Xml, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
				<add assembly="System.Design, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
				<add assembly="System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
				<add assembly="Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
		<customErrors defaultRedirect="~/Errors.aspx" mode="RemoteOnly"/>
    <authentication mode="Forms">
      <forms name="SllAuth" path="/" loginUrl="slllogin.aspx" protection="All" timeout="30">
        <credentials passwordFormat="Clear">
          <user name="Glen" password="babyCat#1" />
        </credentials>
      </forms>
    </authentication>
    <authorization>
      <allow users="*" />
    </authorization>
		<profile enabled="true">
			<properties>
				<add name="SLL_UserName"/>
				<add name="FirstName"/>
				<add name="LastName"/>
				<add name="Address"/>
				<add name="City"/>
				<add name="PostalCode"/>
				<add name="Country"/>
				<add name="Phone"/>
				<add name="Fax"/>
				<add name="Mailings" type="System.Boolean"/>
				<add name="Email"/>
				<add name="Theme"/>
				<add name="Cart" serializeAs="Binary" type="SLL.Commerce.ShoppingCart" allowAnonymous="true"/>
			</properties>
		</profile>
		<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
		<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20"/>
		<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
	</system.web>
</configuration>

Open in new window

0
Glen Gibb
Asked:
Glen Gibb
1 Solution
 
sunithnairCommented:
Try and see what is the exact error message shown. You could set the the customErrors mode="Off" in web.config and see this.
0
 
Glen GibbOwnerAuthor Commented:
Looking at the exact error enabled me to solve the problem.  Tnx
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now