|
Vico_ wrote: I'm using a hosted account so I cannot make any changes to IIS.
Then you cam't do it. You need to create the application for the folder in the IIS manager.
---
b { font-weight: normal; }
|
|
|
|
|
I have a simple test winform user control that simply opens a textbox and outputs a message to it. It has no properties.
In the web project, I am only using a single object tag:
<object id="fred" classid="http:Text.dll#TextTest.Text">
If you are seeing this message, then your browser
does not support embedded objects!
to call it from an html page (the default asp page is excluded from project again to keep it simple). When I run this from Visual Studio 2005 (under .NET 2.0), the control loads into the download assembly cache and runs ONLY IF I add a .NET security policy thats grants all code to run on "My Computer". If I remove this policy, then it downloads and installs but won't run (just get a little place holder "square" in the upper left corner of the html page). However, this is not the problem....
When I publish the project to a virtual IIS directory on my system (IIS is installed on my development system), and open access/security permissions wide open on the virtual directory, and then navigate to it using IE, the control won't even download, let alone install and run. IE never gives me any kind of warning/error message/page of any kind and the "FUSLOGVW.EXE" has absolutely no messages of any kind logged even when I open up full logging of every event. The IE page that results is blank, though if I look at page source, it is correct.
I tried this very same procedure on a remote IIS server on the network with exactly the same results. My suspicion is that it is some .NET security mechanism blocking the download of the dll application/control, but I can't find any information to point me in the right direction. I have tried:
> signing the control with a sn key with/without exposing interface to COM
> adding each IIS server used to the Trusted Site zone
> adjusting the .NET security policies for the Machine/All_Code/{My_Computer|LocalIntranet|Trusted_Zone}
> using the .NET configuration wizard to increase the assembly trust
> setting the virtual directory web share to wide open
> granting any applicable users full permissions to the directory
> adding ASPNET user to the permitted users to the directory and giving that user full access permission to do anything
> testing using same steps on a different IIS server
> changing the <object> tag from:
<object id="fred" classid="http:Text.dll#TextTest.Text">...
to
<object id="fred" classid="http://localhost/Test/Text.dll#TextTest.Text">..
(which is where it actually lives on the IIS server). So far, nothing has worked. No matter what I have tried, I always get the exact same results. Can anyone help???
|
|
|
|
|
I found some code of how to call on two posts under one button but could never get the code to work correctly. I will take it from the top and ignore what has been given to me. Any help is appreciated.
Question:
Is it possible to have a secure URL (I have no control over ecommerce secure server) and a form (right now using pearl but would switch to asp) under one submit button? In other words:
First part of the form is user information such as Mutal Fund Name, Ticker, and Dollar Invested to be submitted along with a copy of the credit card General information receipt of a purchase. (see link Live Code below)
Second part is the price and general information of the user that is submited to the secure server for credit card processing. (see link Live Code below)
Live Code[^]
Thanks for any help in advance,
Donny
|
|
|
|
|
I have inserted an HTML table inside a cell of another HTLM table. The table that is in the cell is much smaller than the cell. When I increase the height of this table the cell that it is contained in also gets bigger, even though there is plenty of room for it to get bigger without the cell changing size. How can I size this table so that it takes up the entire area of the cell it is in?
Thanks for any help provided.
|
|
|
|
|
Have you tried a width 100% ?
|
|
|
|
|
We are having an asp.net1.1 page in Plumtree Portal 6.0(internet applicaton) which shows lot of contents in a treeview. We are populating the treeview through AJAX. Once the page gets loaded, we are registering a startup script which in turns calls the same page(one querystring is passed) through AJAX, and through response.write we are showing div and anchor tags to build the tree. When we click multiple times on the page hangs. When we refresh browser, we are getting the error A script on this page is causing internet explorer to run slowly. do you want to abort the script yes/no. Even when we click yes, we are unable to continue with the process and the browser hangs. When we viewed the temporary internet files, we saw that page with the querystring parameter having the size of 400kb which may be the reason? Any ideas to overcome this scenario. Our situtation is to populate the tree after the page load through AJAX
|
|
|
|
|
Ours is an asp.net1.1 internet application. We are referring to IBM Surfaid javascript file which is hosted in that website. We are calling a javascript function defined in that file. We are using page.render method to register a javascript which will call the javascript function defined in that function on every page load. On first time load, it is happening file. On postbacks, we are getting a Warning 'The page is accessing information outside the network. Do you want to continue? Yes or No'. We used to click on yes. Is there any solution to avoid this warning? Is that due to that external js file reference(other domain) or something else? We need to refer to that file web usage tracking. Please suggest something
|
|
|
|
|
How Can I add new record to database using DataGrid control in ASP.NET.
|
|
|
|
|
|
Hello,
I created a class named Scripts with a function (Add) and a property
(List). I compiled it into a dll.
Basically, when I do:
Dim MyClass As Scripts
MyClass.List = "Script1, Script2"
MyClass.Add
It adds the scripts to the page.
My problem is that inside my class I have:
Page.ClientScript.RegisterClientScriptInclude ...
And I get an error saying:
"Name Page is not declared"
How can I solve this?
Thanks,
Miguel
|
|
|
|
|
You can :
1. create a member of type Page in the class, then use that for the code.
2. create a parameter of type Page in the class.
(untried)
You can also try to get the parent of the control, and cast it as page.
|
|
|
|
|
I have Datagrid in which i m using Autogenerated Columns to show data.
Now i want to adjust Columns Width accordingly....
Any help will be greatly appreciated....
|
|
|
|
|
You can iterate through the columns property, and change it there.
|
|
|
|
|
Can u explain with some example.....I cannot u
|
|
|
|
|
use the Columns property of the datagrid. Iterate through them, then set their width.
|
|
|
|
|
Hi,
Sorry if this is the incorrect forum.
Was wondering if any one can point me in the right direction with a query I have.
If a person has a website that refers a customer to another website (eg Fred's Jeans), and then that customer purchases a pair of Fred's Jeans - Is there a way to count how many people do this (not just traffic but actually finalise a sale).
If so can any one offer any advice etc.
Cheers
Dan.
|
|
|
|
|
When you send the person to Fred's Jeans, there should be a query string value with a unique identifier for your site (the referrer) like www.fredsjeans.com/?refid=12. Fred's Jeans must then store the refid value in Session (or keep it in the QS the whole time by changing links). Then when a user buys something the site checks the Session for a refid and if it finds it the referrer is credited with the referral.
|
|
|
|
|
Thanks for the speedy response.
So this means that if Fred's Jeans didnt have a site set up to deal with referals then the code of that page would need changing too, so that it can send me back a msg saying some one has bought some of my fine jeans?
Thanks
Dan.
|
|
|
|
|
Hi
When I use DetailsView in VS2005 and set it in defultMode to insert and then when I need to get the new values so in the DetailsView_ItemUpdating event the following code alwayes give me null exception
<br />
String Field1Values;<br />
Field1Values = e.NewValues["xyz"].ToString();<br />
Also I set set ConvertEmptyStringToNull="False"
But still I get null exception !!! any one help me
so
I want to get updated values back from the
DetailsView and then handle my updating manually.
-- modified at 12:08 Friday 3rd November, 2006
|
|
|
|
|
Am working in .net 2005 asp.net and using sql server 2005 as an back hand . I wat to store the browsed file to my data base .
So please help me
saurabh saraf
|
|
|
|
|
how can we upload a file thru ftp
|
|
|
|
|
You can have a look at this[^] .
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hello,
can someone please tell me how can I read the ETAG header insire Application.Context.Response field inside an HTTPModule??
I've seen that there's a method HttpCachePolicy.SetETag, but it's a setter...
any suggestion?
Bests
Paolo
|
|
|
|
|
hi
please tell me how to set cookies for perticular urls i am tryied but it is not reflecting properly see the code
c = new Cookie("chasezip","zipcode=40201&state=KY&county=Jefferson", "/", ".chase.com");
c2 = new Cookie("marketlist", "68|70|73|79|80|90|116|138", "/", ".chase.com");
//c.Domain = ".chase.com";
myHttpWebRequest.CookieContainer = new CookieContainer();
myHttpWebRequest.CookieContainer.Add(siteUri, c);
myHttpWebRequest.CookieContainer.Add(siteUri, c2);
response = (HttpWebResponse)myHttpWebRequest.GetResponse();
resStream = response.GetResponseStream();
it is not working properly
|
|
|
|
|
how to insert text balloons(CallOuts) to a textdocument in web applications in .net
|
|
|
|