473,320 Members | 2,147 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,320 software developers and data experts.

At my wits end

I need to make a winform component that embeds in an aspx page. This
component will do some ftp work from our intranet site to our internet site.
We need to use a component to avoid having to recreate the connection after
every postback. I have embedded wincontrols in a page so i think i got that
down. My next step now is to get the component to show files on the users
computer then to get it to show files on the internet site. The second i
import the system.io namespace my component refuses to load. I know why this
is happening, but i am also under the impression that using the framework
config tool in the control panel i can set permissions on the assembly to
bypass the security concerns. There are a ton of components out there on the
market that seem to do this but i suppose there are ways they could be
"sneaky" about it.

My question is, am i chasing my tail?

So far i have made a snk file and included it in the <assembly: pathtokey=>
tag (i know this isnt the exact tag name but im working off the top of my
head here). It is my understanding that once you set that attribute and
recompile the assembly becomes strong named. Once i have given my assembly a
strong name i go to Microsoft .net configuration tools -> Runtime security
Policy -> all code -> my computer and go through the wizrad giving my
assembly full trust but it still refuses to show me the files i am looking
for on my directory.

What am i doing wrong?

thanks

steve
Nov 18 '05 #1
1 1107
Your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Muckey" <no***********@spamispoo.com> wrote in message
news:EdSYb.2745$Ru5.859@okepread03...
I need to make a winform component that embeds in an aspx page. This
component will do some ftp work from our intranet site to our internet site. We need to use a component to avoid having to recreate the connection after every postback. I have embedded wincontrols in a page so i think i got that down. My next step now is to get the component to show files on the users
computer then to get it to show files on the internet site. The second i
import the system.io namespace my component refuses to load. I know why this is happening, but i am also under the impression that using the framework
config tool in the control panel i can set permissions on the assembly to
bypass the security concerns. There are a ton of components out there on the market that seem to do this but i suppose there are ways they could be
"sneaky" about it.

My question is, am i chasing my tail?

So far i have made a snk file and included it in the <assembly: pathtokey=> tag (i know this isnt the exact tag name but im working off the top of my
head here). It is my understanding that once you set that attribute and
recompile the assembly becomes strong named. Once i have given my assembly a strong name i go to Microsoft .net configuration tools -> Runtime security
Policy -> all code -> my computer and go through the wizrad giving my
assembly full trust but it still refuses to show me the files i am looking
for on my directory.

What am i doing wrong?

thanks

steve

Nov 18 '05 #2

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

Similar topics

2
by: Alan Robert Clark | last post by:
Hi * gcc 2.96 RH7.2 refuses this: string infoFileName = "machineinfo.txt"; ifstream infoFile (infoFileName); I have recently vowed to move to the standard library stuff, instead of my...
3
by: JT | last post by:
I posted this message a couple of weeks ago and know one answered. I am not sure if why. I am sure that I am not the only one that has had this issue. Or is it because I used a dirty N word....
1
by: Brian | last post by:
Hello all. Hope you're all enjoying your Christmas / New Years etc. I know i've asked this before but i am truly at my wit's end, so any help right now would be much appreciated! How do i...
4
by: Chris | last post by:
I'm still amazed after working with Crystal Reports (CR) for over 4 years that they are still the messiest most un-stable application around. I've been thrown back into using it just recently and...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
3
by: bbcworldtour | last post by:
(SQL Server 2005, express edition) I have a list of table names that I need to translate according to a naming convention. I'm doing this using pattern matching in a LIKE clause. In one...
2
by: ybop | last post by:
VB NET 2005 I would be ecstatic if some kind soul could solve this for me. Without the extraneous stuff note the following code: Dim res() as byte . . Dim WR As HttpWebResponse =...
10
kcdoell
by: kcdoell | last post by:
Good Morning: I have 12 and 3 . I created the below query: SELECT , , Sum() AS , Sum() AS FROM UqryProductTypeStatic WHERE ((()=..-1) AND (()=..)) GROUP BY , ;
0
by: xkenneth | last post by:
All, If anyone has any interest in developing a bit of code for generating WITS and WITSML in python, then drop me a line. I've started a project on google apps, "PyWITS", and I plan to support...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.