| | |
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: 273 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 activexcontrol advice ajax alltypeofvideos anathor application asp asp.net bc30451 bottomasp.net box browser button c# checkbox click commonfunctions complex connection dataaccesslayer database datagridview datagridviewcheckbox datalist development dgv dropdownlist dynamically edit editing expose feedback fileuploader fill flash form formatdecimal formview google gridview gudi iframe iis javascript list listbox login microsoft migration mono mouse mssql news numerical opera panelmasterpagebuttoncontrols parent problem project radio redirect registration relationaldatabases reportemail richtextbox rows save schoolproject search security select session silverlight smartcard smoobjects software sql sql-server sqlserver2005 suse textbox theft tracking unauthorized validation vb.net video videos view vista visualstudio web webapplications webdevelopemnt webprogramming webservice xsl youareanotmemberofthedebuggerusers





