| | |
Problems with dynamic Excel with Module
Please support our ASP.NET advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2009
Posts: 1
Reputation:
Solved Threads: 0
Hi, I am hoping someone can help with a problem I am having
I am using ASP (VB).Net 2003 on Windows Server 2003 and I am trying to create a web application which dynamically creates an excel spreadsheet which has a module included. When I run this on the local host it works fine but once I load it onto the server I get the following error message
HRESULT = 0x800A17B4 "Programmatic Access to Visual Basic Project is not trusted
I am using the following VB.Net code
Code:
If I turn off the code then it will load the spreadsheet without the module but the module is the critical part of the spreadsheet.
I have tried changing permissions but this is running on a client and not a physical machine. I am populating on the server in Excel 97 to avoid microsofts security issues
Does anyone have any ideas?
Regards
Jo
I am using ASP (VB).Net 2003 on Windows Server 2003 and I am trying to create a web application which dynamically creates an excel spreadsheet which has a module included. When I run this on the local host it works fine but once I load it onto the server I get the following error message
HRESULT = 0x800A17B4 "Programmatic Access to Visual Basic Project is not trusted
I am using the following VB.Net code
Code:
ASP.NET Syntax (Toggle Plain Text)
Dim xlmodule As Object 'VBComponent xlmodule = xlbook.VBProject.VBComponents.Import(PathToImport & "Module1.bas")
I have tried changing permissions but this is running on a client and not a physical machine. I am populating on the server in Excel 97 to avoid microsofts security issues
Does anyone have any ideas?
Regards
Jo
Last edited by peter_budo; Oct 31st, 2009 at 1:28 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: Update INT type Checkbox Field
- Next Thread: Debug
Views: 275 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 ajax appliances application asp asp.net beginner box browser businesslogiclayer button c# cac checkbox child class compatible complex content contenttype control countryselector courier database datagrid datagridview datalist deployment development dgv dialog dropdown dropdownmenu dynamic dynamically edit editing embeddingactivexcontrol feedback fileuploader fill findcontrol flash flv folder form gridview gudi identity iis image javascript languages list maps menu mobile mssql nameisnotdeclared novell opera order problem profile ratings redirect refer registration relationaldatabases response.redirect rows search security select serializesmo.table sessionvariables silverlight smoobjects software sql ssl tracking treeview typeof validatedate validation vb vb.net vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment wizard xsl





