Click here to Skip to main content
15,921,905 members
Home / Discussions / C#
   

C#

 
Questiondatagrideview and data base Pin
A.firooz11-Jul-08 3:08
A.firooz11-Jul-08 3:08 
AnswerRe: datagrideview and data base Pin
half-life11-Jul-08 11:47
half-life11-Jul-08 11:47 
QuestionFieldInfo.SetValue on nested types Pin
FireFly_7411-Jul-08 2:56
FireFly_7411-Jul-08 2:56 
QuestionHow to Create a Global Variable Pin
Admin88711-Jul-08 2:48
Admin88711-Jul-08 2:48 
AnswerRe: How to Create a Global Variable Pin
carbon_golem11-Jul-08 2:58
carbon_golem11-Jul-08 2:58 
AnswerRe: How to Create a Global Variable Pin
Thomas Stockwell11-Jul-08 3:56
professionalThomas Stockwell11-Jul-08 3:56 
Questionhow to call matlab command from c#? such as figure; plot Pin
Seraph_summer11-Jul-08 2:41
Seraph_summer11-Jul-08 2:41 
QuestionIIS7, provisiong sample and Quota control Pin
SilverAdder11-Jul-08 2:33
SilverAdder11-Jul-08 2:33 
I'm learning C# as part of my education and the hosting company where i work was nice enough to let me program automatic provisioning of sites and user, so i turned to the provisioning sample obtained on iis.net and adapting it and adding to it to make it work the way i want.

I'm creating it as a service as it makes it more manageable remotely. The thing is, im having a problem with quota control. When i add disk quota to a user it works fine but when i want to edit it or delete it, it doesn't work the way its supposed to. This problem only occurs when a user with the same name has previously been created and deleted. It seems like that when trying to i.e. edit the quota of the user, it actually edits the quota of the previous, deleted user. Hence a new quota entry is created which references to the SSID of the old, deleted user, not the current that it is supposed to use. This problem only occurs if the user is deleted by the service. If i delete the user (and folder, site, app pool and quota, as the service does) manually it works fine the next time a user is created with the same name.

I hope the above description makes sence. Anybody have any idea what goes wrong and how to fix it?

Thanks in advance.

I haven't lost 'till I'm the last one to cross the finishline.

QuestionConvert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6911-Jul-08 2:32
professionalDaveyM6911-Jul-08 2:32 
AnswerRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
Luc Pattyn11-Jul-08 3:05
sitebuilderLuc Pattyn11-Jul-08 3:05 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6911-Jul-08 3:28
professionalDaveyM6911-Jul-08 3:28 
AnswerRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
User 665811-Jul-08 3:08
User 665811-Jul-08 3:08 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6911-Jul-08 3:36
professionalDaveyM6911-Jul-08 3:36 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6911-Jul-08 4:19
professionalDaveyM6911-Jul-08 4:19 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
User 665811-Jul-08 6:38
User 665811-Jul-08 6:38 
AnswerRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
carbon_golem11-Jul-08 3:15
carbon_golem11-Jul-08 3:15 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6911-Jul-08 3:39
professionalDaveyM6911-Jul-08 3:39 
AnswerMessage Closed Pin
19-Nov-12 19:11
professional0xfeeddeadbeef19-Nov-12 19:11 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6919-Nov-12 19:15
professionalDaveyM6919-Nov-12 19:15 
RantRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
0xfeeddeadbeef20-Nov-12 5:43
professional0xfeeddeadbeef20-Nov-12 5:43 
GeneralRe: Convert ulong to binary i.e. ulong.ToBinaryString() Pin
DaveyM6920-Nov-12 8:26
professionalDaveyM6920-Nov-12 8:26 
QuestionWord Frequency Pin
flowingsun11-Jul-08 2:13
flowingsun11-Jul-08 2:13 
AnswerRe: Word Frequency Pin
carbon_golem11-Jul-08 2:31
carbon_golem11-Jul-08 2:31 
AnswerRe: Word Frequency Pin
Thomas Stockwell11-Jul-08 3:58
professionalThomas Stockwell11-Jul-08 3:58 
AnswerRe: Word Frequency Pin
Guffa11-Jul-08 6:57
Guffa11-Jul-08 6:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.