Tuesday, October 14, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Help  couldn't pass t...
 couldn't pass the precompile process
 
ron
17 posts
Joined
5/14/2008

couldn't pass the precompile process
Posted: 10 Jul 08 9:36 PM Modified By ron  on 7/10/2008 10:00:03 PM)

Hi there,

I got this error msg when I tried to deploy the website on the webserver. I created a dns name and then wanted to create a website which can be visited for public. However, the configutation process created a vitural directory under the default website and failed to precompile. see below are the error msg.

My questions are:

1. Can I create a public website with source code version rather than a default local host website? if yes then how?(I need a team to evaluate the website through the web)

2. In my current situation, how could solve the remote server error?

http://localhost/SplendidCRM/Accounts/default.aspx ... The remote server returned an error: (500) Internal Server Error.
http://localhost/SplendidCRM/Accounts/edit.aspx ... The remote server returned an error: (404) Not Found.
http://localhost/SplendidCRM/Accounts/import.aspx ... The remote server returned an error: (404) Not Found.
http://localhost/SplendidCRM/Calendar/default.aspx ... The remote server returned an error: (404) Not Found.

Any idea?

Thanks very much!

Ron

ron
17 posts
Joined
5/14/2008

Re: couldn't pass the precompile process
Posted: 11 Jul 08 1:34 AM

Hi,

See below is the error msg I got.

any idea or suggestion is appreciate.

Ron

 

Server Error in '/SplendidCRM' Application.

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Web.HttpRequest.GetServerVarsWithDemand() +24
   System.Web.HttpRequest.get_ServerVariables() +32
   SplendidCRM.SplendidInit.InitAppURLs() in SplendidInit.cs:48
   SplendidCRM.SplendidInit.InitSession() in SplendidInit.cs:784
   SplendidCRM.Global.Session_Start(Object sender, EventArgs e) in Global.asax.cs:71
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +2221711
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +159
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +518
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +90
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

support
1989 posts
1st
Joined
1/3/2006

Re: couldn't pass the precompile process
Posted: 11 Jul 08 9:56 AM
What can you tell us about the OS you are running on? 
ron
17 posts
Joined
5/14/2008

Re: couldn't pass the precompile process
Posted: 13 Jul 08 9:17 PM Modified By ron  on 7/14/2008 2:42:45 AM)

It is win2003 server, with IIS6. The database is sql 2005. The installation could finish the update on the database, but got the error msg when tried to precompile the project.

I installed it on my develop box (WinXP sp2 with VS2008, SQL2005) without problem.

I saw there is another thread asking about the same issue, however, there was no answer on it; Since some of us are experiencing the same issue, I thought it could be a common scenario.

Regarding to the installation, can I do it manully? If the answer is yes, would you mind to give me an instruction?

Any idea will be highly appreciated!

Ron

support
1989 posts
1st
Joined
1/3/2006

Re: couldn't pass the precompile process
Posted: 14 Jul 08 5:13 AM

In general, the precompile step can be skipped or ignored.  In your case, the issue is not the precompile but that there seems to be a problem with the the installation program configuring IIS.

SpelndidCRM can be installed manually.  The following steps are typical when installing any .NET application.

  1. Create the web site or virtual directory in IIS.
  2. Copy all files (except *.cs) from your XP machine to the server.
  3. Backup SplendidCRM database from XP machine and restore on server.
  4. Update Web.config to point to your server database, making sure that SQL login has sufficient access rights.
  Mainstream Forums  Help  couldn't pass t...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.
SplendidCRM and SplendidCRM Software are trademarks of SplendidCRM Software, Inc. SugarCRM is a trademark of SugarCRM Inc. in the United States, the European Union and other countries. All other trademarks used in this web site are the property of their respective owners.