Mono Support install problem 

Viewed 19262 time(s), 4 post(s), 11/17/2010 11:35:19 PM - by shallwar
11/17/2010 11:35:19 PM
1 Reputation 1 Total posts

my problem is;

Server Error in '/' Application.

Login failed for user 'rnslw'.

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: Login failed for user 'rnslw'.

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): Login failed for user 'rnslw'.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +428
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
System.Data.SqlClient.SqlConnection.Open() +122
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.OpenConnection() +179
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.PrepareQueryExecution(IQuery queryToExecute, Boolean forceConnectionSet) +62
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.ExecuteMultiRowRetrievalQuery(IRetrievalQuery queryToExecute, IEntityFactory2 entityFactory, IEntityCollection2 collectionToFill, IFieldPersistenceInfo[] fieldsPersistenceInfo, Boolean allowDuplicates, IEntityFields2 fieldsUsedForQuery) +135
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollectionInternal(IEntityCollection2 collectionToFill, IRelationPredicateBucket& filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, ExcludeIncludeFieldsList excludedIncludedFields, Int32 pageNumber, Int32 pageSize) +714
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath, ExcludeIncludeFieldsList excludedIncludedFields, Int32 pageNumber, Int32 pageSize) +126
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath) +28
MonoSoftware.LLBLGen.Repository.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath) +59
MonoSoftware.MonoX.Repositories.LocalizationRepository.GetLanguageSettings() +61
MonoSoftware.MonoX.Utilities.LocalizationUtility.GetLanguageSettings() +95
MonoSoftware.MonoX.Utilities.LocalizationUtility.GetDefaultCultureName() +262
MonoSoftware.MonoX.Utilities.LocalizationUtility.GetLocalizationCultureName() +319
MonoSoftware.MonoX.Utilities.LocalizationUtility.GetCurrentLanguageId() +64
MonoSoftware.MonoX.Caching.MonoXCacheManager.get_LanguageId() +7
MonoSoftware.Web.Caching.CacheManager.€(Object[] keyParameters) +257
MonoSoftware.Web.Caching.CacheManager.Get(Object[] keyParameters) +76
MonoSoftware.MonoX.Utilities.MonoXUtility.BindListControl(Boolean useCache, IEntityFactory2 factory, ListControl list, IEntityField2 displayFieldName, IEntityField2 valueFieldName, Boolean noPreference, String preferenceValue, IRelationPredicateBucket bucket, IDataAccessAdapter adapter) +157
MonoX_Installer_NewApplication.Page_Init(Object sender, EventArgs e) +453
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnInit(EventArgs e) +99
System.Web.UI.Page.OnInit(EventArgs e) +12
MonoSoftware.MonoX.Installer.BaseInstallerPage.OnInit(EventArgs e) +57
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209

vps properties:
windows 2008 server
sqlexpress2008
.net2.0,.net3.0,.net3.5 and .net4.0 allredy installed.

1
11/18/2010 10:20:03 AM
7207 Reputation 956 Total posts

Hi,
This is caused by trying to access the database server with wrong login credentials - SQL user "rnslw" either does not exist, has a wrong password, or does not have read/write permissions on the MonoX database.
I assume that this happened after you installed the package (installation wizard does not try to access the database until you enter the login information)? In that case you should check the value of the LocalSqlServer web.config setting to see if it holds the correct username and password.

2
11/24/2010 3:59:59 AM
0 Reputation 2 Total posts

my pages : http://itn.vn/monox
you begin to have this error ... please help me,
thank you very much.

3
11/24/2010 1:12:04 PM
7207 Reputation 956 Total posts

The virtual folder "monox" is not configured as an application on your server. You need to create a new application on this folder using the IIS manager - more details can be found in our tutorial or here: [url=http://learn.iis.net/page.aspx/150/understanding-sites-applications-and-virtual-directories-on-iis-7/]http://learn.iis.net/page.aspx/150/understanding-sites-applications-and-virtual-directories-on-iis-7/[/url]

4
This is a demo site for MonoX. Please visit Mono Software for more info.