Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6333251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:25:33+00:00 2026-05-24T18:25:33+00:00

I don’t get it… I have a WCF Windows service that I can’t manage

  • 0

I don’t get it… I have a WCF Windows service that I can’t manage to call anymore… I always get this error :

Could not load file or assembly ‘Microsoft.VisualBasic,
Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or
one of its dependency. Access is denied

This stuff was working perfectly until a few days ago when I did some tweaking. Now I can’t get rid of it, no matter what I do.

Service configuration file is :

<system.serviceModel>
  <services>
    <service name="myService"
             behaviorConfiguration="TransfertServiceBehavior">
      <host>
        <baseAddresses>
          <add baseAddress="net.tcp://localhost:8097/MyService"/>
        </baseAddresses>
      </host>
      <endpoint address=""
                binding="netTcpBinding"
                bindingConfiguration="TransactionalBinding"
                contract="myContract" />
      <endpoint address="mex"
                binding="mexTcpBinding"
                contract="IMetadataExchange" />
    </service>
  </services>
  <bindings>
    <netTcpBinding>
      <binding name="TransactionalBinding" transactionFlow="true" transferMode="Streamed"
               maxReceivedMessageSize="1000000000">
         <readerQuotas maxDepth="10000" maxStringContentLength="1000000000"
                       maxArrayLength="1000000000" maxBytesPerRead="10000" 
                       maxNameTableCharCount="10000" />
         <security mode="Transport" />
      </binding>
    </netTcpBinding>
  </bindings>
  <behaviors>
    <serviceBehaviors>
      <behavior name="TransfertServiceBehavior">
        <serviceMetadata httpGetEnabled="False"/>
        <serviceDebug includeExceptionDetailInFaults="False"/>
      </behavior>
    </serviceBehaviors>
  </behaviors>
</system.serviceModel>

While client configuration is here :

<system.serviceModel>
  <bindings>
    <netTcpBinding>
      <binding name="NetTcpBinding_SI6ISupportTransfert" closeTimeout="00:01:00"
               openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
               transactionFlow="true" transferMode="Streamed" 
               transactionProtocol="OleTransactions"
               hostNameComparisonMode="StrongWildcard" listenBacklog="10"
               maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10"
               maxReceivedMessageSize="65536">
         <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                       maxBytesPerRead="4096" maxNameTableCharCount="16384" />
         <reliableSession ordered="true" inactivityTimeout="00:10:00"
                          enabled="false" />
         <security mode="Transport">
            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
            <message clientCredentialType="Windows" />
         </security>
      </binding>
    </netTcpBinding>
  </bindings>
  <client>
     <endpoint address="net.tcp://localhost:8095/myService"
               binding="netTcpBinding" 
               bindingConfiguration="NetTcpBinding_SI6ISupportTransfert"
               contract="myContract" name="mySevice">
         <identity>
            <userPrincipalName value="user@myDomain" />
         </identity>
     </endpoint>
  </client>
</system.serviceModel>

Any idea on what could cause this “Access denied” exception ???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:25:33+00:00Added an answer on May 24, 2026 at 6:25 pm

    The error is “Access Denied” when loading one of the .net framework dll’s.

    It could be several things:

    • That version of the .net framework has been removed from the server
    • The user which is the identity of the server does not have access to the framework dll’s
    • The password of the user which is the identity of the server has expired.
    • The password of the user which is the identity of the server has changed.

    Try stopping and starting the service to check the password.

    Try reinstalling the service to check the .net framework version.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Don't have much to say, just can get into the event handler. XAML: <Grid>
Don't know why but I can't find a solution to this. I have 3
Don't know if anyone can help me with this or if it's even possible.
Don't know why this doesn't work. I can't do implicit animation for a newly
Don't overthink this - there's a very commonly used term and I ... have
Don't think my virtualhost is working correctly. This is what I have inside of
Don't know if this has been answered before. Have custom routes to users. If
Don't ask me why but i can't use this method because I need to
Don't yell at me! i have seen many threads claiming that HTML cannot be
DON'T ASK WHY but... I have a regex that needs to be case insensitive

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.