|
|
 |  |  |
 |
|
 |
 |
|
|
|
|
(you must be logged in to post)
| Author |
Messages |
|
gareth
Posts:5
 |
| 01/13/2010 9:53 PM |
|
Hi, I've installed the file manager and can't seem to get it working. I'm getting silverlight unhandled exception errors whenever an event is called. Unhandled Error in Silverlight Application An exception occurred during the operation, making the result invalid. Check InnerException for exception details. at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()\n at FileManager.Files.GetFoldersCompletedEventArgs.get_Result()\n at FileManager.MainPage.objWebServiceSoapClient_GetFoldersCompleted(Object sender, GetFoldersCompletedEventArgs e)\n at FileManager.Files.WebServiceSoapClient.OnGetFoldersCompleted(Object state) I get the above error when I click 'Manage My Files' but the silverlight app still displays, then errors if I click 'Add Folder', 'Add File', etc. Was wondering if I could get the full source of the .xaml so I can debug further. BTW, I've done a clean install of DNN (new database, new IIS) and the app works fine. Is there something I could be missing? Our test site has a lot of custom modules but they all work fine and adding some of the other silverlight apps you have here have worked fine (like sketchflow). |
|
|
|
|
Michael Washington (admin)
Posts:126

 |
| 01/13/2010 11:04 PM |
|
I am stumped as to why you get this error. Are all the files for the module in the App_Code directory? The source for the Silverlight project are in this project: http://silverlightbridge.codeplex.com/SourceControl/changeset/view/59356# |
|
|
|
|
gareth
Posts:5
 |
| 01/17/2010 3:28 PM |
|
Hi Michael, thanks for that. haven't had a chance to do a full debug, I will do if it turns out this isn't the issue and theres a quick fix: I think it has something to do with user permissions? When I'm logged into DNN as admin or host, file manager works fine, but then I created a test account in DNN and gave the test account access to file manager. Logged in as the test account will bring up the same error............ Any ideas as to what the issue could be or what I should be checking? Thanks. |
|
|
|
|
gareth
Posts:5
 |
| 01/17/2010 7:10 PM |
|
Forget what I said above, that was due to a silly error on my part. Heres where it stands (all run form localhost): I've installed the Silverlight file manager (sfm) on our test production dnn, which fails. I've then done a clean install with new database, new IIS entry and installed sfm on that, which works without any problems. If I modify the web.config on the clean install to point to our test production databse and then run open DNN (so pointing the clean install to the test production database), sfm errors with the same error as on the test production dnn. Unfortunately pointing the test production dnn to the clean database is not an option. Does that make sense? Can you think of anything that would be causing the issue or something else to check? Also, does sfm use tab settings? Thanks |
|
|
|
|
Michael Washington (admin)
Posts:126

 |
| 01/17/2010 7:48 PM |
|
1) There are actually two connection strings in the web.config. Both have to be set to the same database 2) The module only works with .dbo (database owner) 3) Are you sure the tables got created when the module was installed? It needs it's database tables to work. |
|
|
|
|
gareth
Posts:5
 |
| 01/17/2010 9:31 PM |
|
Thanks for the quick reply: 1) I am changing both connection strings in web.config (in the connectionstring and appsettings tags) 2) The user ID used in the web.config connection strings has dbo rights 3) 4 tables were created when the module was installed And also to answer your other question, the code is in the App_Code directory. Sorry if i was unclear, its not the install that fails. The app installs fine and the module is added to the page and displays fine. Admin settings work (such as changing folder to upload to and giving groups permissions). When clicking on 'Manage my files', the silverlight app loads but brings up the error in my first post. If i choose not to debug when the error message pops up, the silverlight file manager still loads and I can resize the columns and click on the buttons, but clicking on the buttons will throw an exception again. |
|
|
|
|
Michael Washington (admin)
Posts:126

 |
| 01/18/2010 5:16 AM |
|
| I don't think it's possible to simply point a DNN site to another database without problems. |
|
|
|
|
gareth
Posts:5
 |
| 01/18/2010 3:28 PM |
|
| yeah, there were problems. The DNN site couldn't find any of the tabs/modules defined in the database, but where the modules were the same in either database, they seemed to work. so pointing the clean install with an unmodified web.config to the other database worked where modules were the same, but going back the other way didn't work. |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|
|
|
|
 |  |  |
|