473,396 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

run a vb.net module in asp.net across WAN

ben
Hi.

BACKGROUND:
I am trying to deploy an application across a WAN. I
have already written the app in vb.net and it works
fine. I connect to a local SQL server that takes too
much bandwidth for the remote users. So I figured after
I wrote the app I could make a simple asp.net page that
runs the vb module. I make a simple UI that has one
button that calls a function in the vb module. The
module is suppose to get all the info and spit out many
Excel files to the user.

ISSUE:
1) Are vb.net modules suppose to operate seamlessly in
asp.net too? My first big hint at no was when I could
not make a msgbox. (but I just want to make Excel files
so that is ok).

2)
System.Runtime.InteropServices.COMException: Programmatic
access to Visual Basic Project is not trusted

I keep getting this error. I went into the wwwroot
folder and gave all the permissions to the aspnet user
and the system network as well. I included all the
interops that I used when my app worked fine in the vb
form app.

Thanks,

Ben
be*******@quinton.com
Nov 18 '05 #1
2 1307
If you need to load a WinForms GUI, look for help topics on No-touch
deployment. That should help.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"ben" <be*******@quinton.com> wrote in message
news:3a****************************@phx.gbl...
Hi.

BACKGROUND:
I am trying to deploy an application across a WAN. I
have already written the app in vb.net and it works
fine. I connect to a local SQL server that takes too
much bandwidth for the remote users. So I figured after
I wrote the app I could make a simple asp.net page that
runs the vb module. I make a simple UI that has one
button that calls a function in the vb module. The
module is suppose to get all the info and spit out many
Excel files to the user.

ISSUE:
1) Are vb.net modules suppose to operate seamlessly in
asp.net too? My first big hint at no was when I could
not make a msgbox. (but I just want to make Excel files
so that is ok).

2)
System.Runtime.InteropServices.COMException: Programmatic
access to Visual Basic Project is not trusted

I keep getting this error. I went into the wwwroot
folder and gave all the permissions to the aspnet user
and the system network as well. I included all the
interops that I used when my app worked fine in the vb
form app.

Thanks,

Ben
be*******@quinton.com

Nov 18 '05 #2
thanks for the tip. I'll let you know how it turns out.
-----Original Message-----
If you need to load a WinForms GUI, look for help topics on No-touchdeployment. That should help.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************* ******** *************Think Outside the Box!
************************************************* ******** *************"ben" <be*******@quinton.com> wrote in message
news:3a****************************@phx.gbl...
Hi.

BACKGROUND:
I am trying to deploy an application across a WAN. I
have already written the app in vb.net and it works
fine. I connect to a local SQL server that takes too
much bandwidth for the remote users. So I figured after I wrote the app I could make a simple asp.net page that
runs the vb module. I make a simple UI that has one
button that calls a function in the vb module. The
module is suppose to get all the info and spit out many
Excel files to the user.

ISSUE:
1) Are vb.net modules suppose to operate seamlessly in
asp.net too? My first big hint at no was when I could
not make a msgbox. (but I just want to make Excel files
so that is ok).

2)
System.Runtime.InteropServices.COMException: Programmatic access to Visual Basic Project is not trusted

I keep getting this error. I went into the wwwroot
folder and gave all the permissions to the aspnet user
and the system network as well. I included all the
interops that I used when my app worked fine in the vb
form app.

Thanks,

Ben
be*******@quinton.com

.

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Roose | last post by:
Can I rely on the random.py module to produce the same series of numbers for future/past versions of Python, given the same seed? Can I rely on it across different architectures and operating...
2
by: Ashish Shridharan | last post by:
Hi All I have been tryign to figure out the scope of a module as shown declared below in a web environment. My Questions are Is this module shared across multiple instances of the...
8
by: Floris van Haaster | last post by:
Hi All! I have a question, i have a web application and I store some member information in a variable i declared in a module like: Public some_info_variable as string in module1.vb But...
4
by: Peter J. Bismuti | last post by:
I'm having trouble understanding how namespaces work in modules. I want to execute a module within the interpreter and then have values that are calculated persist so that other modules that get...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.