Sticky problem with a few WCF REST services on a production machine. All the services are fine across other servers, failing any interactions on one particular server with a 400 Error.
Dropped a "Really simple rest" service onto the same server, call in the same way and works fine - so don't think it's a server issue.
Checked IIS config for things like wildcard maps etc - all seems to be the same as other servers.
Written a quick Powershell script to call - this also fails with a 400, so we think our JS side of things is OK.
Checked request format etc (JSON) in Fiddler - seems to be fine and the same as works on other servers.
Tried to create a new instance of our complete app on the same server - same problem, so it looks like it's something specific to our server side code in this app only, except the server side code is the same as the really simple service above - with one exception - we use code to create our binding object and endpoint rather than having them in web.config. The settings we use are however the same as per the standard info added when adding the normal service reference.
We're about running out of ideas on this one, so any pointers as to areas to look at would be greatly appreciated.
C# has already designed away most of the tedium of C++.
Hey, can anybody help me with this? I have the following code, I put the pop-up related part into an empty webform and that works fine, but in the form that I really want to have that, it doesn't work! there is no error showing what is wrong with this! (the script manager is on the master page). Any note or comments to help me to figure out what is wrong with it?!
here is the code:
/*for user code pop-up */
BORDER-TOP: #ddd 1px solid;BACKGROUND: url(img/base.png) no-repeat left bottom;
PADDING-BOTTOM: 4px;MARGIN-LEFT: -11px;MARGIN-RIGHT: -11px;
PADDING-TOP: 4px;TEXT-ALIGN: center;
var modalPopupBehavior = $find('ModalPopupBehavior1');
</style></asp:Content><asp:ContentID="Content1"ContentPlaceHolderID="phBody"runat="server"><divclass="PageDesc"><asp:LocalizeID="userCodesPageDescr"runat="server"EnableViewState="False"meta:resourcekey="userCodesPageDescrResource1"Text="User Codes enable individual users to arm and
disarm your security system. Check 'Security Panel Access' to give a user local access so they can arm/disarm
through the system keypad. Uncheck it to remove local access temporarily - the code will still show
on the website. (Note that user codes must be 4 digits. Codes 0000 and 0001 are not allowed.)"></asp:Localize></div><divclass="PageDesc"align="right"><asp:LinkButtonID="lbtnRequestUserCode"runat="server"OnClientClick="Popup()"meta:resourcekey="lbtnRequestUserCodeResource1"CausesValidation="False">Request Panel User Codes</asp:LinkButton></div><div><asp:PanelID="confirmPanel"runat="server"BackColor="White"Width="325px"CssClass="confirm-dialog"meta:resourcekey="confirmPanelResource1"><divstyle="background-color: #EEEEEE; font-weight: bold; padding: 5px 5px 5px 5px;"><asp:LocalizeID="Localize1"runat="server"meta:resourceKey="locConfirmDeleteRc1"Text="Request User Codes from Panel"></asp:Localize></div><br/><divstyle="padding: 0px 10px 15px 10px;"><asp:LocalizeID="Localize2"runat="server"meta:resourceKey="ConfirmDeleteTextRc1"Text="Are you sure you would like to replace the website user codes with the user codes from the panel?"></asp:Localize><br/><br/><asp:LocalizeID="Localize3"runat="server"meta:resourceKey="ConfirmDeleteTextRc1"Text="<b>Note: Codes uploaded from the panel will overwrite those in the website if they are out of sync.</b> "></asp:Localize><br/><br/><br/><br/><tablewidth="100%"><tr><tdstyle="text-align: center;"><asp:ButtonID="butConfirmYes"runat="server"Text="Countinue"CssClass="styledbutton"meta:resourcekey="butCountinue_userCode1"OnClientClick="Popup();"/></td><td> </td><tdstyle="text-align: center;"><asp:ButtonID="butCancel"runat="server"Text=" Cancel "CssClass="styledbutton"meta:resourcekey="butCancel_userCode"/></td></tr></table></div></asp:Panel><asp:PanelID="pnlModal"runat="server"><ajax:ModalPopupExtenderID="modalPopup"runat="server"BehaviorID="ModalPopupBehavior1"CancelControlID="butConfirmNo"OkControlID="butConfirmYes"PopupControlID="confirmPanel"TargetControlID="lbtnRequestUserCode"DynamicServicePath=""Enabled="True"BackgroundCssClass="modalBackground"/></asp:Panel></div><uc1:UserCodesControlID="usercodes"runat="server"/><asp:PanelID="pnlCSNote"runat="server"Visible="False"CssClass="PageDesc"style="margin-top: 10px"meta:resourcekey="pnlCSNoteResource1"><p><spanstyle="font-weight: bold"><asp:LocalizeID="labelNote"runat="server"EnableViewState="False"meta:resourcekey="labelNoteResource1"Text="Note:"></asp:Localize></span><asp:LocalizeID="userCodesNote"runat="server"EnableViewState="False"meta:resourcekey="userCodesNoteResource1"Text="The changes you make on this page will not update the response information
in the central monitoring station. In order to make changes to the response information
stored at the central station, which is used to respond to alarm signals from your
account, you should contact your alarm dealer or the central station directly."></asp:Localize></p></asp:Panel></asp:Content>
I have one form that is built in asp.net containing fields such as name, bank deatils etc.
after filling that online form the user will submit the data and on clicking a button pdf of the whole form filled by the user must be generated.
how can i do this using itext sharp?
also mention another any open source third party tool for this job if available and better than itextsharp??