Ask a Question related to ASP.NET Security, Design and Development.
-
Dinesh Upare #1
Help Required
Hi,
I want to deploy my private shared assembly using codebase keeping some of
the assemblies in common folder.
I am using following tag in web.config
<runtime>
<assemblyBinding xmlns="urn:schemas-icrosoft-com:asm.v1">
<dependentAsembly>
<assemblyIdentity name="CodeBaseTest" publicKeyToken="8e7599d58ab3f23"
culture="en-US" />
<codeBase version="1.0.1332.41747"
href="file:///d:/inetpub/wwwroot/CodeBaseTest.dll" />
</dependentAssembly>
</assemblyBinding>
</runtime>
I have also added reference of the CodeBaseTest.dll to the project.
My application runs fine but dll which has been added to the project is
being executed.
Why the assembly which has been referenced by codeBase is not getting
loaded?
I have even tried the href with
href=http://localhost/TestApp/CodeBaseTest.dll , but the result is same.
I tried to remove the reference of the CodebaseTest.dll from the project but
i am getting error of filenotfound exception.
Am I missing something here?
Can some body help me out.
Thanks and Regards
Dinesh
Dinesh Upare Guest
-
ASP help required please
Hey Al I have a stored procedure in SQL server which when exectuated returns a table of results. I would like to be able to pass in the parameters... -
required help
I believe you meant to send this message to the Perl Beginner's List. On Monday, October 6, 2003, at 01:51 AM, vaishali wrote: Let's see if... -
Help required please!
OK, I have Photoshop7 (Uk) and have 80 something images I want to downsize from 3000 x 2000. Do I have to do each one individually? Thanks in... -
what is required for job(?)
is there a list on the web , on what a 3D animator needs to prepare himself with, or what he needs to show, for the job market? thanx....doc -
Job schedular Required for IIS
Hy, I need Job schedular like MSSQL server, I need this functionality on IIS. Is there any concept of threads on IIS? Thank You. -
Amit Sharma #2
Help Required
Hi,
I have written one cgi script which gets the input from user and
modify one xml file and I got this string as output
[url]http://prv-arweb3.Test.com/Remedy/servlet/Servlet?URL=http://asharma.Test.co[/url]
m/Query1.xml&TURL=http://asharma.Test.com/Remedy1.xsl
Here I am getting modified Query1.xml as input and I have to give this
command in address bar to get the desired result. Could you please help me
to let me know how directly through CGi I can go to the address mentioned
above without copying and pasting in address bar. This address will always
remain the same only the xml file will change.
General Question:
In my cgi script I want to open some site let us suppose
[url]http://www.google.com[/url]
How can I do that.
Regards,
Amit.
Amit Sharma Guest
-
Andrew Gaffney #3
Re: Help Required
Amit Sharma wrote:
The way I know of off the top of my head goes something like this:> Hi,
> I have written one cgi script which gets the input from user and
> modify one xml file and I got this string as output
> [url]http://prv-arweb3.Test.com/Remedy/servlet/Servlet?URL=http://asharma.Test.co[/url]
> m/Query1.xml&TURL=http://asharma.Test.com/Remedy1.xsl
>
> Here I am getting modified Query1.xml as input and I have to give this
> command in address bar to get the desired result. Could you please help me
> to let me know how directly through CGi I can go to the address mentioned
> above without copying and pasting in address bar. This address will always
> remain the same only the xml file will change.
>
> General Question:
>
> In my cgi script I want to open some site let us suppose
> [url]http://www.google.com[/url]
use CGI;
my $cgi = new CGI;
print $cgi->header;
print "<script>location.href = 'http://www.google.com';</script>
There is a more correct way to do this using HTTP codes, such as:
print "HTTP/1.0 302 Found\n";
print "Location: www.google.com\n\n";
This could be wrong, though, so someone please correct me.
--
Andrew Gaffney
Andrew Gaffney Guest
-
Tore Aursand #4
Re: Help Required
On Fri, 14 Nov 2003 00:17:29 -0600, Andrew Gaffney wrote:
>> In my cgi script I want to open some site let us suppose
>> [url]http://www.google.com[/url]Not quite "right" CGI.pm-wise, as the CGI module _has_ a redirect()> use CGI;
>
> my $cgi = new CGI;
> print $cgi->header;
> print "<script>location.href = 'http://www.google.com';</script>
>
> There is a more correct way to do this using HTTP codes, such as:
>
> print "HTTP/1.0 302 Found\n";
> print "Location: www.google.com\n\n";
function;
use CGI;
my $cgi = CGI->new();
print $cgi->redirect( 'http://www.google.com/' );
More information:
perldoc CGI
--
Tore Aursand <tore@aursand.no>
Tore Aursand Guest
-
Ian Hobson #5
Help required
Hi,
I am trying to write an upload function and I get an error - the output
is as follows.
base_dir = /home/e-smith/files/ibays/Primary
temp name is /tmp/phpMWwTxt
Sending file to
/home/e-smith/files/ibays/Primary/html/RGASite/GEORGE/Ocean Wave.jpg
Warning: open_basedir restriction in effect. File is in wrong directory
in /home/e-smith/files/ibays/Primary/html/RGASite/admimages.php on line
66
The relevant piece of source is
echo "base_dir = ". ini_get('open_basedir')."<br>";
echo "temp name is ".$_FILES['userfile']['tmp_name']."<br>";
echo "Sending file to $path<br>";
if (is_uploaded_file($_FILES['userfile']['tmp_name']))
{ copy($_FILES['userfile']['tmp_name'], $path);
}
Line 66 is the copy statement.
Can I not read from the source?
If so, what can I do about it?
Suggestions gratefully received.
Ian
--
Ian - posting to a Newsgroup. Please remove everything to reply.
Ian Hobson Guest
-
Ron Barnett #6
Re: Help required
"Ian Hobson" <NewGroups@ntlworld.everything.com> wrote in message
news:bY7zEMCdpRlAFwhN@ntlworld.com...> Hi,
>
> I am trying to write an upload function and I get an error - the output
> is as follows.
> Warning: open_basedir restriction in effect. File is in wrong directory
> in /home/e-smith/files/ibays/Primary/html/RGASite/admimages.php on line
> 66> if (is_uploaded_file($_FILES['userfile']['tmp_name']))
> { copy($_FILES['userfile']['tmp_name'], $path);
> }
>
> Line 66 is the copy statement.
Ian,
You can't use copy with an uploaded file. That's what the 'restriction in
effect' warning is trying to tell you.
Use move_uploaded instead.
Check the manual for details
HTH
Ron
..
Ron Barnett Guest
-
Ian Hobson #7
Re: Help required
In message <5mclc.41$D9.27@newsfe1-win>, Ron Barnett
<ron.barnett@ntlworld.com> writesSource snipped>"Ian Hobson" <NewGroups@ntlworld.everything.com> wrote in message
>news:bY7zEMCdpRlAFwhN@ntlworld.com...>> Hi,
>>Thanks. Its working now :)>
>Ian,
>
>You can't use copy with an uploaded file. That's what the 'restriction in
>effect' warning is trying to tell you.
>
>Use move_uploaded instead.
>Check the manual for details
>
(And I thought the code in the manual would be a working example to
copy! Perhaps is was way back when, but no longer...
Regards
Ian-->HTH
>
>Ron
>
>.
>
>
Ian - posting to a Newsgroup. Please remove everything to reply.
Ian Hobson Guest



Reply With Quote

