Desktop version

Main > Forum > 1C:Enterprise Platform > Bugs and functionality requests to 1C:Enterprise platform > Access error to server module in case of Client/server mode infobase and thick client

Forum

Search UsersRules
Access error to server module in case of Client/server mode infobase and thick client
#1
Active user
Points:: 0
Joined:: Feb 8, 2013

We have a module with "Server" property. There are calls to this module only from manager module of document. In case of using Client/server mode infobase and thick client we got an error when try to open the list form of this document with error text "Variable is not defined ([ModuleName])".

In case of using thin client or file database mode everything fine. Also if we put property of module "Client(managed application" or "Server Call" to "True" the error is not appear. But i don't understand why it should be client or server call and it is not correct way to solve the problem. And also why its appear only in client server thick client.

Could you clarify why its appear and what is correct way to solve this issue. And could you explain why platform have such special aspects.

Thank you.

Profile
#2
Guest
Points::
Joined::

Hello, Pavel!

Thick client executes some methods that are marked as Server on a client. So one of ways to solve it is to make ServerCall variant of your module and a procedure in it that will call your sever module procedure.

And it is better not to use Thick client as using Thin client is more modern way.

Profile
#3
Active user
Points:: 0
Joined:: Feb 8, 2013

Timofey Bugaevsky,
I understand that a thin client is preferable way to work, but we should think about all exceptions in developing process.

So, "Server call" property is way which 1C company recommend to solve such kind of errors?

And does platform have specification description about such kind of methods in thick client? Because methods calls from other modules (not manager module) work fine. How we should define which module should have "Server call" (i think to put this property to every server module is not correct way)?

Profile
#4
Guest
Points::
Joined::

Hello, Pavel!

It is recommended to exclude from the configuration check Thick client (managed application, Client/sever mode). As using thick client in client/server variant uses more network resources than using thin client.

You will not need to set Server call for all modules, but for only server subsystem interfaces that are called from the client. You can see examples in 1C:Subsystems library.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.