Click here to Skip to main content
15,909,953 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioni am not able to insert images to word document created through C# Pin
sonu jnnce8-Apr-14 22:42
sonu jnnce8-Apr-14 22:42 
AnswerRe: i am not able to insert images to word document created through C# Pin
Schatak10-Apr-14 2:06
professionalSchatak10-Apr-14 2:06 
Questionhow to drag usercontrol to page Pin
Nico Haegens8-Apr-14 5:51
professionalNico Haegens8-Apr-14 5:51 
Questionweb api query - 401 error Pin
miss7868-Apr-14 4:57
miss7868-Apr-14 4:57 
AnswerRe: web api query - 401 error Pin
Bernhard Hiller8-Apr-14 22:18
Bernhard Hiller8-Apr-14 22:18 
GeneralRe: web api query - 401 error Pin
miss7868-Apr-14 23:57
miss7868-Apr-14 23:57 
GeneralRe: web api query - 401 error Pin
Bernhard Hiller9-Apr-14 2:19
Bernhard Hiller9-Apr-14 2:19 
GeneralRe: web api query - 401 error Pin
miss78614-Apr-14 6:24
miss78614-Apr-14 6:24 
Thank you for your feedback. i am stuck on little status code issue, regarding this long problem. When I debug the full and trial repository, while login as 'trail' user, 'resp' variable below is highlighted as red with a 404 status code, but on the fiddler testing environment, it displays the url as 401 unauthorized issue.

C#
 ClaimRole user = repository.trial(credentials[0], credentials[1]);
ClaimRole user2 = repository.full(credentials[0], credentials[1]);

     if (user == null || user2  == null)
 {
     var resp = new HttpResponseMessage(HttpStatusCode.NotFound)
     {
         Content = new StringContent(string.Format("access denied")),
     };

 }// this bracket is highlighted while debugging through which the local window shows 404 status code
 else
 {

<br />
resp --	{StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content: System.Net.Http.StringContent, Headers:

Hence I am little unclear, which error to look into. if you get time, could you please advice on any material i should look into or concentrate on.

Many thanks for your time and help.
QuestionHow to save secured password for individual users Pin
antony beula8-Apr-14 2:32
antony beula8-Apr-14 2:32 
AnswerRe: How to save secured password for individual users Pin
Peter Leow8-Apr-14 2:44
professionalPeter Leow8-Apr-14 2:44 
AnswerRe: How to save secured password for individual users Pin
Richard Deeming8-Apr-14 3:07
mveRichard Deeming8-Apr-14 3:07 
QuestionExporting Repeater values in to Excel Pin
indian1437-Apr-14 14:39
indian1437-Apr-14 14:39 
AnswerRe: Exporting Repeater values in to Excel Pin
Schatak8-Apr-14 2:24
professionalSchatak8-Apr-14 2:24 
GeneralRe: Exporting Repeater values in to Excel Pin
indian1438-Apr-14 7:08
indian1438-Apr-14 7:08 
GeneralRe: Exporting Repeater values in to Excel Pin
Schatak8-Apr-14 21:18
professionalSchatak8-Apr-14 21:18 
GeneralRe: Exporting Repeater values in to Excel Pin
indian1439-Apr-14 7:33
indian1439-Apr-14 7:33 
GeneralRe: Exporting Repeater values in to Excel Pin
Schatak10-Apr-14 2:08
professionalSchatak10-Apr-14 2:08 
GeneralRe: Exporting Repeater values in to Excel Pin
indian14310-Apr-14 6:31
indian14310-Apr-14 6:31 
GeneralRe: Exporting Repeater values in to Excel Pin
indian14310-Apr-14 6:58
indian14310-Apr-14 6:58 
QuestionTFS build error Pin
indian1437-Apr-14 8:55
indian1437-Apr-14 8:55 
QuestionImage galleries Pin
Keith888887-Apr-14 5:53
Keith888887-Apr-14 5:53 
QuestionAntiForgeryToken after session timeout Pin
littleGreenDude7-Apr-14 5:30
littleGreenDude7-Apr-14 5:30 
QuestionSystem.Web.UI.DataVisualization.Charting Pin
NickKa6-Apr-14 3:45
NickKa6-Apr-14 3:45 
SuggestionRe: System.Web.UI.DataVisualization.Charting Pin
thatraja9-Apr-14 2:18
professionalthatraja9-Apr-14 2:18 
QuestionPossibility of having several pages open. aspx in internet explorer in my application web .net 2013? Pin
Carlos j. Ramirez5-Apr-14 9:56
Carlos j. Ramirez5-Apr-14 9:56 

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.