Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: hekp Pin
AmitGajjar1-Dec-12 19:39
professionalAmitGajjar1-Dec-12 19:39 
GeneralRe: hekp Pin
PIEBALDconsult2-Dec-12 4:32
mvePIEBALDconsult2-Dec-12 4:32 
General... Pin
Antonino Porcino1-Dec-12 3:19
Antonino Porcino1-Dec-12 3:19 
GeneralRe: Saltarelle vs JSIL -- Raytracer Demo Pin
OriginalGriff1-Dec-12 3:35
mveOriginalGriff1-Dec-12 3:35 
GeneralRe: Saltarelle vs JSIL -- Raytracer Demo Pin
Antonino Porcino1-Dec-12 4:31
Antonino Porcino1-Dec-12 4:31 
GeneralRe: Saltarelle vs JSIL -- Raytracer Demo Pin
OriginalGriff1-Dec-12 4:38
mveOriginalGriff1-Dec-12 4:38 
QuestionOrganizing a solution in VS2010 Pin
PozzaVecia30-Nov-12 20:13
PozzaVecia30-Nov-12 20:13 
AnswerRe: Organizing a solution in VS2010 Pin
Eddy Vluggen30-Nov-12 23:30
professionalEddy Vluggen30-Nov-12 23:30 
GeneralRe: Organizing a solution in VS2010 Pin
PozzaVecia1-Dec-12 2:55
PozzaVecia1-Dec-12 2:55 
GeneralRe: Organizing a solution in VS2010 Pin
Pete O'Hanlon1-Dec-12 3:03
mvePete O'Hanlon1-Dec-12 3:03 
GeneralRe: Organizing a solution in VS2010 Pin
PozzaVecia1-Dec-12 4:11
PozzaVecia1-Dec-12 4:11 
Questionfile name from network port??? Pin
lanep30-Nov-12 11:13
lanep30-Nov-12 11:13 
AnswerRe: file name from network port??? Pin
Dave Kreskowiak30-Nov-12 12:36
mveDave Kreskowiak30-Nov-12 12:36 
GeneralRe: file name from network port??? Pin
lanep30-Nov-12 19:28
lanep30-Nov-12 19:28 
GeneralRe: file name from network port??? Pin
Eddy Vluggen30-Nov-12 23:29
professionalEddy Vluggen30-Nov-12 23:29 
GeneralRe: file name from network port??? Pin
Dave Kreskowiak1-Dec-12 3:13
mveDave Kreskowiak1-Dec-12 3:13 
GeneralRe: file name from network port??? Pin
lanep5-Dec-12 11:19
lanep5-Dec-12 11:19 
QuestionSerialPort DataReceived event Pin
Blubbo30-Nov-12 11:04
Blubbo30-Nov-12 11:04 
AnswerRe: SerialPort DataReceived event Pin
OriginalGriff30-Nov-12 22:28
mveOriginalGriff30-Nov-12 22:28 
Questionvideo conferencing Pin
Oyebisi Jemil30-Nov-12 8:44
Oyebisi Jemil30-Nov-12 8:44 
AnswerRe: video conferencing Pin
Pete O'Hanlon30-Nov-12 9:03
mvePete O'Hanlon30-Nov-12 9:03 
AnswerRe: video conferencing Pin
OriginalGriff30-Nov-12 22:30
mveOriginalGriff30-Nov-12 22:30 
QuestionMaster-details Issue: Works with EW3 But Not with EW4 Pin
SaintNek30-Nov-12 5:08
SaintNek30-Nov-12 5:08 
AnswerRe: Master-details Issue: Works with EW3 But Not with EW4 Pin
Eddy Vluggen1-Dec-12 5:52
professionalEddy Vluggen1-Dec-12 5:52 
AnswerRe: Master-details Issue: Works with EW3 But Not with EW4 Pin
SaintNek4-Dec-12 8:35
SaintNek4-Dec-12 8:35 
XML
This problem has been resolved.

It turned out that there was a slight difference between the code that worked and the one that did not. The Internal Server Error 500 was being casused by the following issue.

Problem: There are GridView features that are supported by the ASP.NET 3.5 version on my laptop, that was not supported by the version ASP.NET version 2.0  that the hosting server was using.

 Remedy:
  Remove the unsupported properties from the Gridview. They are the tags that have to do with <SortedAsceding..> or <SortedDescending…>. Then publish the file again.

  CODE from the offending file.aspx

 <asp:GridView runat="server" id="GridView1" AutoGenerateColumns="False" DataSourceID="DetailsFromDBDataSource" CellPadding="4" ForeColor="#333333" GridLines="None">
 <AlternatingRowStyle BackColor="White" />
 <Columns>
 <asp:HyperLinkField DataTextField="ProductName" HeaderText="Product Name" NavigateUrl="hottea.aspx">
 </asp:HyperLinkField>
 <asp:BoundField DataField="CategoryID" HeaderText="CategoryID" SortExpression="CategoryID">
 </asp:BoundField>
 <asp:BoundField DataField="UnitPrice" HeaderText="UnitPrice" SortExpression="UnitPrice">
 </asp:BoundField>
 <asp:BoundField DataField="UnitsInStock" HeaderText="UnitsInStock" SortExpression="UnitsInStock">
 </asp:BoundField>
 <asp:ImageField DataImageUrlField="Details" HeaderText="Header Text">
 </asp:ImageField>
 </Columns>
 <EditRowStyle BackColor="#7C6F57" />
 <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
 <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
 <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
 <RowStyle BackColor="#E3EAEB" />
 <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F8FAFA" />
<SortedAscendingHeaderStyle BackColor="#246B61" />
<SortedDescendingCellStyle BackColor="#D4DFE1" />
<SortedDescendingHeaderStyle BackColor="#15524A" />
 </asp:GridView>

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.