Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
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>

QuestionA MEF question Pin
John T.Emmatty30-Nov-12 4:50
John T.Emmatty30-Nov-12 4:50 
AnswerRe: A MEF question Pin
Simon_Whale30-Nov-12 4:59
Simon_Whale30-Nov-12 4:59 
QuestionRe: A MEF question Pin
Richard Deeming30-Nov-12 5:35
mveRichard Deeming30-Nov-12 5:35 
AnswerRe: A MEF question Pin
John T.Emmatty30-Nov-12 20:00
John T.Emmatty30-Nov-12 20:00 
QuestionC# WinForms - Printing Multiple Pages Pin
Matt U.30-Nov-12 4:29
Matt U.30-Nov-12 4:29 
AnswerRe: C# WinForms - Printing Multiple Pages Pin
BobJanova30-Nov-12 4:34
BobJanova30-Nov-12 4:34 
GeneralRe: C# WinForms - Printing Multiple Pages Pin
Matt U.30-Nov-12 4:48
Matt U.30-Nov-12 4:48 
QuestionFind the differences between two images for screen sharing apps Pin
Tridip Bhattacharjee30-Nov-12 3:13
professionalTridip Bhattacharjee30-Nov-12 3:13 
AnswerRe: Find the differences between two images for screen sharing apps Pin
Dave Kreskowiak30-Nov-12 4:07
mveDave Kreskowiak30-Nov-12 4:07 
AnswerRe: Find the differences between two images for screen sharing apps Pin
BobJanova30-Nov-12 4:32
BobJanova30-Nov-12 4:32 
GeneralRe: Find the differences between two images for screen sharing apps Pin
Richard Deeming30-Nov-12 4:42
mveRichard Deeming30-Nov-12 4:42 
QuestionAdding/Removing multiple IP addresses to NIC Pin
lorenzo.santoro29-Nov-12 21:07
lorenzo.santoro29-Nov-12 21:07 
AnswerRe: Adding/Removing multiple IP addresses to NIC Pin
Dave Kreskowiak30-Nov-12 4:05
mveDave Kreskowiak30-Nov-12 4:05 
GeneralRe: Adding/Removing multiple IP addresses to NIC Pin
lorenzo.santoro12-Dec-12 5:26
lorenzo.santoro12-Dec-12 5:26 
QuestionDetecting Webcam Pin
sarang_k29-Nov-12 19:51
sarang_k29-Nov-12 19:51 
AnswerRe: Detecting Webcam Pin
Pete O'Hanlon29-Nov-12 20:35
mvePete O'Hanlon29-Nov-12 20:35 
GeneralRe: Detecting Webcam Pin
sarang_k2-Dec-12 18:17
sarang_k2-Dec-12 18:17 

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.