473,612 Members | 2,331 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

500 Err if you modify Web.config (WCF service applet)

yarbrough40
320 Contributor
Can anyone tell me what might be the cause here? Here's the Scenario.
I have a website hosted with Arvixe.com and my website has aspx pages as well as a WCF json service (simple enough)

- All is running fine (aspx pages and WCF calls all return without error)
1) I make an innocuous change to the web.config (i.e. add a 'space' to a commented area)
2) move the newly modified web.config from my machine to Arvixe via ftp
3) call one of the aspx pages <-- no errors
4) call one of the WCF rest calls <-- ERR: "Failed to load resource: the server responded with a status of 500 (Internal Server Error)"
5) Oddly I can get it back to normal by calling one of the WCF methods via REST using javascript ajax - and then make another in a browser url. - after that the error goes away and all seems fine once again until I make another web.config modification.

Any Thoughts?
Apr 27 '16 #1
0 5205

Sign in to post your reply or Sign up for a free account.

Similar topics

0
8266
by: =?Utf-8?B?QWRyaWFuIENvbGU=?= | last post by:
I have written a simple WCF service hosted in a Windows console application and a simple WCF client console application that connects successfully to that service and retrieves data. I then ported the console application to WinForms and also got that to work properly. My next move was to host the WCF service in a Windows service application. I believe I have that working correctly, but I can't for the life of me get a client to connect...
3
3275
by: =?Utf-8?B?R3JlZw==?= | last post by:
I have just created a WCF service that is using WShttpbasic and all is good when another .net 3.0 application consumes it. However, I have legacy apps that must use this service and are running on .net 2.0 and are housed on Windows 2000 servers. I have been unable to find ANY info on how to do this, or if it is even possible. I find it hard to believe that WCF would not be able to be consumed by 2.0 applications.
9
4307
by: Hakan Fatih YILDIRIM | last post by:
Hi all, Ý am working aboot WCF. and i have some problems. I created 2 interfaces containing attribute at the top of them.and i want to create two classes implementing these interfaces.One class implements one interface the other one implements the other interface.The classes have different imstancecontextMode and different bindingtypes.So how can i include two different services to the service's configuration file .(this issue is not...
3
2773
by: kkao77 | last post by:
can you show me in more detail? I have same problem where on the page it's https://service.premilance.com/Company.svc, but the svcutil tells me to get it from https://pserver1/Company.svc?wsdl which is incorrect.. I have no clue how to fix it and i'm struggling for two days already :( On Mar 13, 3:09 pm, "Tiago Halm" <th...@nospam.hotmail.comwrote:
0
2490
by: Rod | last post by:
This is my first WCF service and it is running on my development machine (XP Pro SP2) under IIS, I am using wsHttpBinding. (I will eventually put it onto a Windows 2003 Server running under IIS on the server as an Intranet application). The strange is I've stepped through the code in the WCF service, it makes the call to the SQL Server database, it retrieves the data and puts it into the DataTable object, and then I close the connection and...
2
2197
by: Niclas | last post by:
Hi, I have developed a WCF service that I am planning to host with a service provider. After spending some time uploading the service and fiddling around with the .svc file and Web.config, I have not managed to get this to work and I am receiving a 404 page when trying access (i have tried dumping a ..htm file in the directory which I can access) I have now gone back to basics and created the defaulf WCF project in VS 2008 which...
0
5708
by: khurramlone | last post by:
I am trying to generate a client proxy from a WCF service library. I am using VS2005, .NET 3.0 on a Windows XP Pro workstation. The WCF service is hosted in a windows service. When I run the windows service as a console application, there are no problems. I can run svcutil.exe against that address and it generates the proxy. However, when I compile that service in release mode, and install it on the workstation using InstallUtil, I get an error...
3
5042
by: cmrhema | last post by:
Hi, Kindly excuse if I am posting in the wrong place. I am using Visual Studio 2008, .net framework 3.5, asp.net , c# and sql server 2005. I am supposed to pass stored procedures from client to wcf service. The WCF service should execute the stored procedure and return the result.
0
1523
by: 1 Sparrow | last post by:
Hi! In one MS VS 2013 solution I develop two projects: 1) WCF service with duplex contract and 2) WPF Client for this service. When I try to add service reference to the client then the following error has place: "Contract requires Session, but baseHttpBinding doesn't support it or isn't configured properly to support it". When I change (in App.config file) from basicHttpBinding to WSDualHttpBinding then I get the following error: "binding...
0
8115
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8568
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8422
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5537
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4047
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2555
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1699
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1416
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.