I am getting the following error while i debugging my project in VS 2008 developer edition
Server Error in '/' Application.
--------------------------------------------------------------------------------
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant th...
We have an ASP.Net solution that is split up in to several projects (some are class libraries and some are actual Asp.Net sites).
One thing that has always bothered me is if the ASP.Net sites and class library dlls are built in debug mode, and are then published, web config changed so that "debug=false" will the class library dlls be bu...
Hy guys, my question is: if i have in asp.net, a SqlDatasource or AccessDatasource with the following select command:
SELECT * FROM Mytable WHERE SomeFieldID=@FilterID
SomefieldID is an integer
And i would like to use the jolly char (* or %) to show all datas... how can i do?
Thanks to everybody will help...
Bye
Stighy
...
Ok I have following the tutorial here as best I can
http://subsonicproject.com/docs/Setting_up_SubSonic_3.0
As the files you get in the download are nothing like what is shown in the video?? So I am literally just guessing which files to use??
Then I drag the files / folders into Visual studio (As the video shows) and NOTHING happen...
I have a master page in a asp.net project, which provides a method that I would like to call in derived classes through an helper function, so I tried to create a base class for my pages:
// the master page
public partial class TheMasterPage : MasterPage {
public string TheMethod(string s1) {
// ...
}
}
// base class pr...
I'm using asp.net c# and upload a SqLite database to a server and then I do some inserting and updating. The problem is that sometimes (I think it's when somethings go wrong with the updating or so) the database gets locked. So the next time I try to upload a file again it's locked and I get an error saying "The process cannot access the...
Hi folks --
I have a client running an ASP.NET application. Inside of that, there's a self-contained PHP wiki. The problem is that the wiki won't use the .NET authentication, so requests directly to http://foobar/path/wiki/ will resolve without forcing a login.
My simple solution for this is to run the PHP application in an iFrame fro...
I'm using MBCompression on a project and the webresource.axd files aren't minifying. The HTML source is, can't figure why the webresource.axd is not.
The server is IIS 6.0 with ASP.NET 3.5 SP1 installed. It also doesn't work via Cassini. Per the readme in the source, here's what's in my web.config:
<configSections>
<sectionGroup n...
This issue is obviously bigger than I thought! Using the VS2008 form designer for web pages, it'd a doddle to lay everything out using pixels. In fact, as far as I can tell, it's very hard to use absolution positioning and anything but pixels.
So my webapp has developed nicely until somebody mentioned the 120DPI issue and I've wandered ...
Has anyone ever come across this? I've never seen it before. I know there is a *.lic" file in my bin for some web charting software.
I did a publish, copied to dev server and then suddenly boom, get this error on every page.
Any ideas? I've cleared out temp asp.net files and restarted IIS.
edit:
wow, I'm thinking this might be the...
I have an asp.net wizard, and I want the user to navigate the control only with the next/previous buttons.
Anyway, I would like to set the sidebar so that it displays the step names with the current step highlighted, but without letting the user click on them.
Is this possible?
...
Here is my scenario:
User enters in address
Address is geolocated
Geolocation is buffered (1 ft)
Graphic returned is used in query
feature to get a road ID
All the above is pretty straight forward ESRI JavaScript API – now I am hitting a bit of a crossroads in approaches and I am wondering if you have an approach you use for the fo...
If you don't provide an ID for your declared controls in ASPX files, I know that VS will automatically generate one for you. Should I always give the controls a descriptive ID even when I won't be accessing them from the code-behind?
...
Hello StackOverflow brain trust,
I currently have an ASP.NET 3.5 SP1 running on IIS 7. I have enabled forms authentication using .NET Membership and setup some folders that are restricted according to roles I have created. For instance, if an anonymous visitor tries to access the file h t t p://www.mydomain.com/restricted/foo.txt, he/sh...
Hi,
I have a simple site consisting of a root site with 2 child sites.
Now I want the navigation for all 3 sites to be exactly the same and read:
Root Site | Child Site 1 | Child Site 2
With the currently selected site highlighted.
I have been able to nearly do this manually using an asp:repeater control and portalsitemapprovider. T...
In ASP.NET Gridviews generate a table which generates a parent div container. This can break CSS layouts since there is no way to attach styles to the generated div. Is there a way to prevent the div from generating or a way to apply a style to it?
This was asked and marked as resolved here but MS just said that the div is needed for t...
I am using ASP.NET 3.5 and i am busy setting up a test site for the administrators to see if they can host my ASP.NET site with no problems. I have all ready added some Ajax and Session variables and now i want to add some flash in there as well.
I have NO CLUE how to use it and where to start. Would i be able to just get some flash HTML...
I have a UserControl that provides some functionality (loads and displays a client's information) and I want to extend that UserControl. Some forms require the plain old UserControl while other forms will require some additional fields. How can I inherit from the existing UserControl, maintain the existing fields but add new fields on as...
I have an ASP.NET page that will run on a shared hosting service (e.i. I'm leasing space on a single server that also serves content for other people) and I need a way to find a directory that I can save files in and that will not get hosted as web content. The file will be long lived and should be the same across sessions, visits, etc. ...
Hi,
I'm having some trouble calling a modal popup from server side. So, I set the modalpopupextender's targetcontrolID to a hidden label. Then in the codebehind from a button's click, I try to add this.modalpopup.show(); Unfortunately, the modal popup doesn't appear when this happens. I can see the code get executed, but nothing sho...