MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Issue with Silverlight image uploader control  (Mono Support )

Viewed 17229 time(s), 7 post(s) 4/13/2012 4:31:35 PMby krishanmurari
krishanmurari

krishanmurari

4/13/2012 4:31:35 PM
I am facing problem with the Silverlight image uploader control implemented for social networking. Its working fine locally but its not getting rendered when i have deployed this application at my server for testing.

For details please login at http://173.201.176.65:8001/login.aspx

userid/password: krishan/1234567

Any help in this regard will be highly appreciated.

Thanks in advance.

Krishan
This content has not been rated yet. 
20 Reputation 2 Total posts
denis

denis

4/13/2012 4:45:50 PM
This is probably caused by IIS misconfiguration - you need to set the MIME types for Silverlight. Please try what is suggested here: http://learn.iis.net/page.aspx/262/configuring-iis-for-silverlight-applications/
This content has not been rated yet. 
7207 Reputation 956 Total posts
in4man

in4man

4/13/2012 6:58:53 PM
Hi, maybe i Faced similliar problem - with Silverlight image uploader. When i press Add more photos. It show progress bar (empty) and button "Browse".
But when I select file nothing happened. What's wrong? Is that OK? I need know if something is happening. I one time getted file uploaded after i close uploader (when the was no progress AT ALL...). So if there a way to disable Silverlight and enable some simple http input (type) file box. Please some response, thanks in advance.
This content has not been rated yet. 
282 Reputation 46 Total posts
khorvat

khorvat

4/14/2012 5:31:18 AM
Hi in4man,

did you take a look at the error logs, as it seems to me that SL is trying to upload the file to the server but some exception occurs. Let us know if there is anything in the logs?

Regards 
This content has not been rated yet. 
15993 Reputation 2214 Total posts
krishanmurari

krishanmurari

4/14/2012 6:31:58 AM
Many thanks to all for the quick reply.

It was the problem with IIS configurations. I have followed the steps mentioned in the article link provided by Denis. Many thanks buddy.


Best regards,
Krishan
This content has not been rated yet. 
20 Reputation 2 Total posts
in4man

in4man

4/14/2012 8:03:31 PM
khorvat, no in log nothins.look

2012-04-14 08:18:36,136 [30] ERROR MonoX [(null)] - WAO ViewState - Debug:
System.Threading.ThreadAbortException: Thread was being aborted.
   at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
   at System.Threading.Thread.Sleep(TimeSpan timeout)
   at MonoSoftware.Web.WAO.Base.BasePageStatePersister.?(Object providerTypeObj)
2012-04-14 13:45:43,604 [39] ERROR MonoX [66.249.71.108] - Error
System.Data.SqlClient.SqlException (0x80131904): Cannot open database "1327228728" requested by the login. The login failed.
Login failed for user '1327228728'.
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, SqlConnection owningObject)
   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, TimeoutTimer timeout)
   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, TimeoutTimer timeout, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.OpenConnection()
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.PrepareQueryExecution(IQuery queryToExecute, Boolean forceConnectionSet)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.ExecuteMultiRowRetrievalQuery(IRetrievalQuery queryToExecute, IEntityFactory2 entityFactory, IEntityCollection2 collectionToFill, IFieldPersistenceInfo[] fieldsPersistenceInfo, Boolean allowDuplicates, IEntityFields2 fieldsUsedForQuery)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollectionInternal(IEntityCollection2 collectionToFill, IRelationPredicateBucket& filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, ExcludeIncludeFieldsList excludedIncludedFields, Int32 pageNumber, Int32 pageSize)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath, ExcludeIncludeFieldsList excludedIncludedFields, Int32 pageNumber, Int32 pageSize)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath)
   at MonoSoftware.LLBLGen.Repository.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath)
   at MonoSoftware.MonoX.Repositories.LocalizationRepository.GetLanguageSettings()
   at MonoSoftware.MonoX.Utilities.LocalizationUtility.GetLanguageSettings()
   at MonoSoftware.MonoX.Utilities.LocalizationUtility.FindLanguageByCultureName(String cultureName)
   at MonoSoftware.MonoX.Utilities.LocalizationUtility.GetCurrentLanguageId(String cultureName)
   at MonoSoftware.MonoX.Utilities.LocalizationUtility.GetCurrentLanguageId()
   at MonoSoftware.MonoX.Caching.MonoXCacheManager.get_LanguageId()
   at MonoSoftware.Web.Caching.CacheManager.#RE(Object[] keyParameters)
   at MonoSoftware.Web.Caching.CacheManager.Get[T](Object[] keyParameters)
   at MonoSoftware.MonoX.Utilities.PageUtility.GetPageProperties(String appRelativeCurrentExecutionFilePath)
   at MonoSoftware.MonoX.BasePage.GetPageProperties()
   at MonoSoftware.MonoX.BasePage.get_PageProperties()
   at MonoSoftware.MonoX.BasePage.OnPreInit(EventArgs e)
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2012-04-14 13:45:43,823 [39] ERROR MonoX [66.249.71.108] - Error
System.Web.HttpException (0x80004005): Error executing child request for /MonoX/Pages/MonoX/Error.aspx. ---> System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.SqlClient.SqlException (0x80131904): Cannot open database "1327228728" requested by the login. The login failed.
Login failed for user '1327228728'.
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.OpenConnection()
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.PrepareQueryExecution(IQuery queryToExecute, Boolean forceConnectionSet)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.ExecuteMultiRowRetrievalQuery(IRetrievalQuery queryToExecute, IEntityFactory2 entityFactory, IEntityCollection2 collectionToFill, IFieldPersistenceInfo[] fieldsPersistenceInfo, Boolean allowDuplicates, IEntityFields2 fieldsUsedForQuery)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollectionInternal(IEntityCollection2 collectionToFill, IRelationPredicateBucket& filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, ExcludeIncludeFieldsList excludedIncludedFields, Int32 pageNumber, Int32 pageSize)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath, ExcludeIncludeFieldsList excludedIncludedFields, Int32 pageNumber, Int32 pageSize)
   at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath)
   at MonoSoftware.LLBLGen.Repository.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath)
   at MonoSoftware.MonoX.Repositories.LocalizationRepository.GetLanguageSettings()
   at MonoSoftware.MonoX.Utilities.LocalizationUtility.GetLanguageSettings()
   at MonoSoftware.MonoX.Utilities.LocalizationUtility.FindLanguageByCultureName(String cultureName)
   at MonoSoftware.MonoX.Utilities.LocalizationUtility.GetCurrentLanguageId(String cultureName)
   at MonoSoftware.MonoX.Utilities.LocalizationUtility.GetCurrentLanguageId()
   at MonoSoftware.MonoX.Caching.MonoXCacheManager.get_LanguageId()
   at MonoSoftware.Web.Caching.CacheManager.#RE(Object[] keyParameters)
   at MonoSoftware.Web.Caching.CacheManager.Get[T](Object[] keyParameters)
   at MonoSoftware.MonoX.Utilities.PageUtility.GetPageProperties(String appRelativeCurrentExecutionFilePath)
   at MonoSoftware.MonoX.BasePage.GetPageProperties()
   at MonoSoftware.MonoX.BasePage.get_PageProperties()
   at MonoSoftware.MonoX.BasePage.OnPreInit(EventArgs e)
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.monox_pages_monox_error_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
   at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
   at MonoSoftware.MonoX.BasePage.OnError(EventArgs e)
2012-04-14 14:50:34,026 [27] ERROR MonoX [(null)] - WAO ViewState - Debug:
System.Threading.ThreadAbortException: Thread was being aborted.
   at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
   at System.Threading.Thread.Sleep(TimeSpan timeout)
   at MonoSoftware.Web.WAO.Base.BasePageStatePersister.?(Object providerTypeObj)
2012-04-14 15:10:53,651 [35] ERROR MonoX [(null)] - WAO ViewState - Debug:
System.Threading.ThreadAbortException: Thread was being aborted.
   at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
   at System.Threading.Thread.Sleep(TimeSpan timeout)
   at MonoSoftware.Web.WAO.Base.BasePageStatePersister.?(Object providerTypeObj)
This content has not been rated yet. 
282 Reputation 46 Total posts
khorvat

khorvat

4/16/2012 6:43:26 AM
Hi,

as you can see from your log that there is an issue with database connectivity:
Cannot open database "1327228728" requested by the login. The login failed.
Login failed for user '1327228728'.

Please fix that and get back to us.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts