I am able to write to a log file using log4net and Cassini/IIS dev server, but when I use IIS7.5, I can't write out to a file.
Initially, I got a security exception, so I added requirePermission="false" and the exception went away but no file was created.
The trust level is full according to IISM.
I can't get this working on my own m...
I'm trying to open a website remotely on website by doing the following:
File > Open Web Site > Remote Site
After pasing my web url and clicking ok, I get windows Security login.
putting my user name and password for the server, does not work. The login
window keeps popping up.
However the same procedure works for my friend.
...
Hi I am following the NerdDinner MVC tutorial and wanted to copy a section of code from web page into Default.aspx page(some markup) . However these lines are copied in prefixed by line numbers - see below.This obviouslmy will not compile-how do I copy without these line numbers appearing.
23. <%=Html.Encode(Model.Description) %>...
I have been working on a project in VS2008 Pro and I recently tried to open it up on a computer with VS2008 Express and 4 of the six projects were unavailable as VS puts it. I don't understand why, I am not using openMP or plugins. Just my code, some XNA, and a couple libraries like easyStorage.
Am I stuck? I thought there would be an a...
How can i use insert into myTABLE (. . . .. . ) select * from(.......). I try to write some linq query but i can not. Look please linq query.
SQL:
INSERT INTO ActualAmountsByLocation (ItemBarcode, Location, LocationName, Amount, isCustomerItem, LastUpdate)
SELECT * FROM
(SELECT DISTINCT
m.ItemBarcode,
...
Is there any packages for this purpose, one download link?
Edit: got VBO working now, so this question is useless for me atm, i can accept answers though if there ever comes one.
...
I'm developing C++.net 2.0 under Win7 with VS2008. I am working with several layers of UserControls.
I have a DLL Names "MyControls.dll" that contains a control, derived from a control in "BaseControls.dll".
Every time I attempt to load any controls in MyControls that derive from BaseControls, the designer breaks with the error:
Cou...
Does a .settings file work in a web application? If I right-click my project and choose Add > New Item..., I don't have the template listed. If I do the same thing in a class library it is. Am I missing anything?
...
Over the last few weeks I've been subject to a sudden and significant performance deterioration when browsing locally hosted ASP.NET 3.5 MVC web applications (C#). Load times for a given page are on average 20 seconds (regardless of content); start up is usually over a minute. These applications run fast on production and even test sys...
Hello,
Are there shortcut keys to jump between code marked as incorrect (a red wavy line) by intellisense? I know F8 can be used to jump between errors after compilation, that's not what I want.
Thank you,
...
How do you generate classes from XAML in Visual Studio 2008?
I have a Silverlight project. The XAML has been written in Expression Blend. I am told that I can use Visual Studio to use the grid classes in the Page.xaml file (the whole solution is loaded into Visual Studio) to generate the .CS (C#) files in Visual Studio 2008 that corre...
Hi,
I have code such as this. I use
pvalueholder is class that is polymorphic , it can hold all sort of types, string..etc..
It also can have a type undefined.
typedef hash_map<pvalueholder,pvalueholder,pvaluehasher > hashtype;
hashtype h;
pvalueholder v;
v="c";
h[v]=5; // h has one element
pvalueholder v2=h[v]; // here h gets a new...
Hi,
I am trying to link an open-source library to one of my project. The library is unmanaged (named Tetgen) and my project is in managed C++. I create a .lib or a .dll, that doesn't change anything. My project recognizes the header and can use the functions defined in it, but cannot access to the cpp. I got a 2028 error each time it wa...
I have a bit of code with a race condition in it... I know that it is a race condition because it does not happen consistently, and it seems to happen more often on dual core machines.
It never happens when I'm tracing. Although, there is a possibility that it could be a deadlock as well. By analyzing stages of completion of logs where ...
I have a string variable and a string constant. Both should be the same value (I'm testing for equality in a conditional). The 'correct' values of both should be "scl". While debugging, if I put a watch on each, look at them in the 'locals' windows, or hover over them, the value displayed is "sd", which is the value of a different consta...
I have a Visual Studio Installation Project and I want the Installer to create a specific folder only if a check box on a 'Checkboxes (A)' form that I've added to the project UI is checked. The name of the property for the checkbox is CHECKBOXA1 but I have no idea what to put in the Condition property of the folder so that it only gets c...
In my watch window in VS2008, I'm looking at an IEnumerable<classX>. Expanding the IEnumerable, some elements are shown with a Value of {classX}. Others appear with a Value of {[classX]}. What's the difference? Why are there square brackets on some of them?
...
Here's the setup:
I have some controls with text fields that I wish to be blank. So I might have, in my designer file:
someControl.HeaderText = ""
or
someControl.HeaderText = Properties.Resources.blank_string
THis only seems to happen when i'm trying to specify a blank string for a text or headertext property to a control.
If I op...
So, folks. Got an interesting occurrence going on here.
I have a windows forms application made in VS2008 which has, up until recently, been connecting to a SQL Server 2008 database. I was able to edit, insert, delete, or select any of the various tables within the database, and the changes were commited -- each time I made a change to ...
So I have gone through this tutorial three times:
http://msdn.microsoft.com/en-us/library/1ez7dh12.aspx
Every time I get to the end and try to run the program, it says:
Error 1 fatal error C1083: Cannot open include file: 'MathFuncsDll.h': No such file or directory
Using a .dll was so simple in C#.
Could anyone explain to me, assum...