Click here to Skip to main content
15,887,812 members
Home / Discussions / C#
   

C#

 
GeneralRe: textbox63 stays empty Pin
masterofc19-Feb-15 0:28
masterofc19-Feb-15 0:28 
QuestionHep me to create signup windows app Pin
Member 1141361218-Feb-15 22:49
Member 1141361218-Feb-15 22:49 
AnswerRe: Hep me to create signup windows app Pin
OriginalGriff18-Feb-15 23:09
mveOriginalGriff18-Feb-15 23:09 
AnswerRe: Hep me to create signup windows app Pin
Pete O'Hanlon18-Feb-15 23:27
mvePete O'Hanlon18-Feb-15 23:27 
Questionabout dynamic form and controls, database fields created by user throw c sharp .net windows application Pin
Muthuraj.M18-Feb-15 18:35
Muthuraj.M18-Feb-15 18:35 
AnswerRe: about dynamic form and controls, database fields created by user throw c sharp .net windows application Pin
OriginalGriff18-Feb-15 21:44
mveOriginalGriff18-Feb-15 21:44 
AnswerRe: about dynamic form and controls, database fields created by user throw c sharp .net windows application Pin
Richard MacCutchan18-Feb-15 22:04
mveRichard MacCutchan18-Feb-15 22:04 
QuestionWcf Service connection to SQL Database Pin
happyghoos18-Feb-15 12:21
happyghoos18-Feb-15 12:21 
Hello to everyone,

Maybe anyone can help me...
The szenario looks like this...

There is a Mobile Device with Windows CE, a WCF Service hosted in IIS on Desktop PC and a Sybase Database hosted on a different Server.

I have to connect the WCF form the Mobile Device and get the Data from the Database.

If i test it from localhost (ASP.NET Development Server) everythink works fine, and i recive the data from the Database. If i connect remotely i can also connect the WCF Service but if i try to connect the Database the client app throws a systemerror and i don't know why

Maybe a problem in the web.config I am greatful for any hint
HTML
<xml version="1.0"?>
<!--
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine.config.comments usually located in
    \Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
    <configSections>
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                </sectionGroup>
            </sectionGroup>
        </sectionGroup>
    </configSections>
    <appSettings/>
    <connectionStrings/>
    <system.web>
        <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        -->
        <compilation debug="true">
            <assemblies>
                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            </assemblies>
        </compilation>
        <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
        <authentication mode="Windows"/>
        <!--
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace.

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
        <pages>
            <controls>
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            </controls>
        </pages>
        <httpHandlers>
            <remove verb="*" path="*.asmx"/>
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
        </httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </httpModules>
    </system.web>
    <system.codedom>
        <compilers>
            <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <providerOption name="CompilerVersion" value="v3.5"/>
                <providerOption name="WarnAsError" value="false"/>
            </compiler>
        </compilers>
    </system.codedom>
    <!--
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
            <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </modules>
        <handlers>
            <remove name="WebServiceHandlerFactory-Integrated"/>
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </handlers>
    </system.webServer>
    <system.serviceModel>
        <services>
            <service behaviorConfiguration="BooksServices.Service1Behavior" name="BooksServices.BooksService">
                <endpoint address="" binding="basicHttpBinding" contract="BooksServices.IBooksService">
                </endpoint>
                <host>
                &lt;baseAddresses>
                <add baseAddress="http://192.168.178.30:50501/BooksService.svc"/>
                &lt;/baseAddresses>
                </host>

                <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
            </service>
        </services>
        <behaviors>
            <serviceBehaviors>
                <behavior name="BooksServices.Service1Behavior">
                    <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
                    <serviceMetadata httpGetEnabled="true"/>
                    <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
                    <serviceDebug includeExceptionDetailInFaults="false"/>
                </behavior>
            </serviceBehaviors>
        </behaviors>
    </system.serviceModel>
</configuration>


modified 19-Feb-15 2:21am.

Question[Solved] MySQL dataGridView search function problem Pin
Linus Agren18-Feb-15 9:47
Linus Agren18-Feb-15 9:47 
AnswerRe: MySQL dataGridView search function problem Pin
Ron Nicholson18-Feb-15 10:00
professionalRon Nicholson18-Feb-15 10:00 
GeneralRe: MySQL dataGridView search function problem Pin
Linus Agren19-Feb-15 4:56
Linus Agren19-Feb-15 4:56 
QuestionDataGridView et oracle Pin
youssefcss18-Feb-15 5:32
youssefcss18-Feb-15 5:32 
SuggestionRe: DataGridView et oracle Pin
Richard MacCutchan18-Feb-15 5:41
mveRichard MacCutchan18-Feb-15 5:41 
QuestionFast Image Stitching Pin
JBHowl18-Feb-15 5:03
JBHowl18-Feb-15 5:03 
AnswerRe: Fast Image Stitching Pin
Ravi Bhavnani18-Feb-15 5:12
professionalRavi Bhavnani18-Feb-15 5:12 
GeneralRe: Fast Image Stitching Pin
JBHowl18-Feb-15 5:21
JBHowl18-Feb-15 5:21 
GeneralRe: Fast Image Stitching Pin
Eddy Vluggen18-Feb-15 5:45
professionalEddy Vluggen18-Feb-15 5:45 
GeneralRe: Fast Image Stitching Pin
JBHowl18-Feb-15 9:00
JBHowl18-Feb-15 9:00 
GeneralRe: Fast Image Stitching Pin
Eddy Vluggen18-Feb-15 9:26
professionalEddy Vluggen18-Feb-15 9:26 
AnswerRe: Fast Image Stitching Pin
Gerry Schmitz18-Feb-15 16:17
mveGerry Schmitz18-Feb-15 16:17 
GeneralRe: Fast Image Stitching Pin
JBHowl6-May-15 3:21
JBHowl6-May-15 3:21 
GeneralRe: Fast Image Stitching Pin
Gerry Schmitz6-May-15 9:51
mveGerry Schmitz6-May-15 9:51 
AnswerRe: Fast Image Stitching Pin
Pete O'Hanlon23-Feb-15 2:36
mvePete O'Hanlon23-Feb-15 2:36 
Questiongenetic algorithm using C# Pin
Member 1143886118-Feb-15 1:26
Member 1143886118-Feb-15 1:26 
AnswerRe: genetic algorithm using C# Pin
CHill6018-Feb-15 1:40
mveCHill6018-Feb-15 1:40 

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.