BugNET

Open source issue tracking & project management

Forums

HomeHomeSupportSupportInstalling BugN...Installing BugN...Problem to access the web page of installing the aplicationProblem to access the web page of installing the aplication
Previous
 
Next
New Post
1/25/2012 7:52 AM
 

Hi to everybody!

I am new in this project. I have just installed framework 4.0 and IIS. The web aplication has asp 2.0 running. I like to start the installation but when i go to the web page http://localhost/BugNet/Install/Install.aspx I have the next problem:

Server Error in '/BugNET' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed. 

Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".

<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly"/> </system.web> </configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="On" defaultRedirect="mycustompage.htm"/> </system.web> </configuration>

=========================================

Before of this i access to the web page that said i have not the bugnet database and i click to start a new installation (link at te bottom of the page)

Thanks a lot.

Javier Crer
 
New Post
1/27/2012 6:03 AM
 
Hi Javier,

You need to follow the instructions in the error message so that the real error can be revealed. What you are seeing is a default asp.net error page that hides all the details of the error.

Cheers.

Davin Dubeau

follow us on twitter facebook users group google plus
 
New Post
1/27/2012 7:05 AM
 
Hi Davin, thanks for your reply.

I realise what you said yestarday night. I atach the real problem below. Because i dont start the install process, i dont have the bugnet database yet in SQL Server Express (I dont have an script with the structure of it). So i proceed to create a new database with the name BugNET. Also i tried to create the ASPNET user with all grants but i cant do it. I dont have ASPNET user in SQLSERVER. 

So when i create the database, i try to access "http://localhost/bugnet/Install/Insta..." and then "Click Here To Access Your BugNET Installation", but i have the same problem.

I dont know how to continue.

Javier Crer.



Server Error in '/BugNET' Application.

Cannot open database "BugNET" requested by the login. The login failed.
Login failed for user 'PC-JCRER\ASPNET'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Data.SqlClient.SqlException: Cannot open database "BugNET" requested by the login. The login failed.
Login failed for user 'PC-JCRER\ASPNET'.

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: 

[SqlException (0x80131904): Cannot open database "BugNET" requested by the login. The login failed. Login failed for user 'PC-JCRER\ASPNET'.] System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1065 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +108 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126 System.Data.SqlClient.SqlConnection.Open() +125 BugNET.Providers.DataProviders.SqlDataProvider.ExecuteReaderCmd(SqlCommand sqlCmd, GenerateListFromReader`1 gcfr, List`1& list) +123 BugNET.Providers.DataProviders.SqlDataProvider.GetHostSettings() +163 BugNET.BLL.HostSettingManager.GetHostSettings() +139 BugNET.Initialization.Init(HttpContext context) +306 BugNET.Global.Application_BeginRequest(Object sender, EventArgs e) +59 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272 
 
Previous
 
Next
HomeHomeSupportSupportInstalling BugN...Installing BugN...Problem to access the web page of installing the aplicationProblem to access the web page of installing the aplication


Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.