DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Uploading and optimizing

Sort:
You are not authorized to post a reply.
Page 1 of 212 > >>





New Around Here





    We are having extremem difficulties in uploading documents to the ASSETs folder in one of our portals. It is a secure website requiring various levels of security, depending on the user and role. I am a host/superuser and  the clock keeps spinning and I either get an error for attempting to upload a document that is small - 250 kb. I also cannot see all the documents that are in the particular folder.

    What can I do to fix the performance and optimization of the uploading process?

    Admin log states:

    07/17/2020 10:49:15

    Host Alert

    Advanced Friendly URL Provider Duplicate URL Warni Page Naming Conflict Du 






    Veteran Member





      Please try copying the log message again. It looks like it is truncated.
      Joe Craig
      DNN MVP
      Patapsco Research Group





      New Around Here





        Is this something that our database manager would be able to solve? We had to re-install our website (DNN to 9.6.1 and 3rd party software (easydnnnews.com) to a new server and increased security). I don't think this is something that I can solve as an administrator. Let me know what the DB manager needs to do.
        Here is the untruncated message.

        AbsoluteURL:/API/InternalServices/FileUpload/UploadFromLocal

        DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

        ExceptionGUID:cafcc938-e561-4acd-95ce-826fb576fc29

        AssemblyVersion:

        PortalId:-1

        UserId:-1

        TabId:-1

        RawUrl:

        Referrer:

        UserAgent:

        ExceptionHash:KAhrStTunmUVZMCAtw8t/FCGXmk=

        Message:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

        StackTrace:

        at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
        at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
        at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
        at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
        at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
        at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
        at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
        at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
        at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
        at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
        at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
        at System.Data.SqlClient.SqlConnection.Open()
        at PetaPoco.Database.OpenSharedConnection()
        at PetaPoco.Database.d__149`1.MoveNext()
        at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
        at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
        at DotNetNuke.Entities.Content.Workflow.Repositories.WorkflowRepository.<>c__DisplayClass4_0.b__0(CacheItemArgs _)
        at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromRuntimeCache(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
        InnerMessage:The network path was not found

        InnerStackTrace:

        Source:.Net SqlClient Data Provider

        FileName:

        FileLineNumber:0

        FileColumnNumber:0

        Method:

        Server Name: Web04





        Veteran Member





          please check database connection string in web.config file and make sure, the servername, database name and user account (or integratedSecurity) are provided properly





          Veteran Member





            Does your site otherwise run?
            Joe Craig
            DNN MVP
            Patapsco Research Group





            New Around Here





              Yes. This is what our developer/DB person says:
              It is strange to me that the database was not found because the entire website needs the same database connection to operate.






              Veteran Member





                This does look like some sort of permissions issue. Check to see if the IIS User for the site's app pool has permission to log into the database. You did mention that some permissions were locked down ...

                Your admin of db admin should be able to look at logs or otherwise monitor the SQL Server and observe how the site it trying to connect for this page.
                Joe Craig
                DNN MVP
                Patapsco Research Group





                Veteran Member





                  the module might access data from a different store, which needs to be configured inside module settings.





                  Veteran Member





                    Is ASSETS a folder? Where is it located?
                    Joe Craig
                    DNN MVP
                    Patapsco Research Group





                    New Around Here





                      I suspect that we have a problem with the folders. Should the content (assets) be in Portals\0? It currently is in Portals\2.
                      Our other two sites, which are public sites, have content in Portals\0 and we do not have problems uploading files.

                      You are not authorized to post a reply.
                      Page 1 of 212 > >>

                      These Forums are dedicated to the discussion of DNN Platform.

                      For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

                      1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
                      2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
                      3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                      4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                      5. No Flaming or Trolling.
                      6. No Profanity, Racism, or Prejudice.
                      7. Site Moderators have the final word on approving / removing a thread or post or comment.
                      8. English language posting only, please.

                      Would you like to help us?

                      Awesome! Simply post in the forums using the link below and we'll get you started.

                      Get Involved