Showing posts with label system. Show all posts
Showing posts with label system. Show all posts

Thursday, March 29, 2012

General network error in VB Application

Hello All,

I need some help with tracing this problem. Only one system in our network gets this error.

Runtime error '-2147467259(80004005')

[DBNETLIB][ConnectionWrite (send()).]General network error. Check your network documentation.

I am using SQL Server 2000

I have checked the access rights of the user they are perfect and also as i have mentioned earlier this error comes up with this login only. I have also tried replacing the system but it was not helpfull.

What can I do to trace this error.

Thanks in advance.

If this happens during the connection (login) time most likely the server closed the connection.

There may be several raesons. Besides general login permissions, it can be lack of permissions on the default database, lack of the default database etc.

You can try checking the EventLog ERRORLOG on the server whether it reveals any clues.

What is the OS of the client and server?

Do you get the same error if you use the same login account through tools like Query Analyzer or OSQL?

|||

dhavalchoksi,

Looks like this is permission issue with your login credential. Even the login credential has permission to login on the server machine, it probably does not have permission to access the targetted dababase tables. Hence you wan to also verify that the targetted table exists and the user login has the permission. Otherwise, tell me about your machine settups.

(1) domain or workgroup,

(2) OS of both client and server.

(2) connection strings in your VB app.

Thanks,

Nan

Tuesday, March 27, 2012

General Network error

I am using Windows Form with web service, I am getting error ocassionally when I am accessing records "System.data.sqlclient.sqlexception General Network error" , When I click again the error disappears.This is not a security related error. You should try the SQL Server Data Access forum. If you want, I can move this thread there, just let me know.

Thanks
Laurentiu|||HI!! Laurentiu,

Kindly move the thread to Sql Server Data Access Forum.

Thank You
Uminder Khatri|||

The information here is really not sufficient for us to help figure this out. Can you give us some more detail as to what your configuration is?
Are you running .Net 1.1?
What version of SQL Server are you running?

It could quite possibly be that the server is crashing. Can you check out the error logs on the server and see if there's anything suspicious there?

Thanks.

sql

General Database/Query and Form Design question

Currently working on an existing system written using an Access 2002 project
(.adp) and SQL Server 2000 and need to add some ehancements.
The system is a leasing system where a customer leases one or more assets
for a defined term (eg. 24, 36, 48 months...). Each lease may also be
associated with a fixed, or variable monthly repayment regime.
For example a customer wants to lease a Boat for 24 months for the first 12
months (period 1 - 12) they pay $50 per month, for period 13 - 18 they pay
$35 per month, and for the last 6 months (period 19 - 24) they pay $25 per
month.
The proposed table design is as follows:
tblLease
LeaseId int (identity) PK
CustomerId FK
TermId FK
...
tblLeaseAsset (1:M relationship to tblLease)
AssetId int PK
LeaseId int PK/FK to tblLease
AssetDescription
...
tblLeaseAssetRate (Intersection table - 1:M relationship to tblLeaseAsset,
1:M relationship to tblLeaseTerm)
AssetId int PK/FK
TermPeriodId int PK/FK
Payment decimal (19,4)
...
tblLeasePeriodTerm (1:M relationship to tblLease)
TermPeriodId int (identity) PK
LeaseId int FK to tblLease
FromTermPeriod small int
ToTermPeriod small int
...
Whilst the users are happy to enter the initial lease and period/term
information as a Parent/Main form and Child/Subform combination. They would
like to be able to enter the Asset and payment information together as a
single Child/Subform:
Period Period Period
Asset Description 1 - 12 13 - 18 19 - ...
A Boat $50 $35 $25
The problem is that this requires a pivot table/cross tabulation type view
of the data and these types of queries are not generally updatable.
Does anyone have any ideas how I might achieve the objective either in terms
of database, query or form design so that users can insert, update, delete
and view records?
Your assistance apreciated
Guy HortonWell, for each "asset", you got
AssetName AssetCost WherePurchased
Boat $15,000 WalMart
Car $5,000 MacDonalds
etc.
Now, just put another sub-form to the "right" of a above where you can enter
"many" values for each of the above.
If your cursor is in Boat, then you can enter:
Period Amount
1 - 12 $50
13 - 18 $35
etc.
I can think of "many" cases where you got a detail line, and need "many" for
that details. consider the QuickBooks when you write a single check, and a
split amount, you need to "split" out the funds to "many" values. So, the
solution is to make two side by side sub-forms.
Take a look at the following screen shots, and especially the last one where
I have a "classic" cheque "distribution" screen (for each check/person on
the left, I can enter "many" split values for that particlar amount
(donation in this example) on the right side...
http://www.members.shaw.ca/AlbertKa...ticles/Grid.htm
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@.msn.com
http://www.members.shaw.ca/AlbertKallal|||I'd strongly recommend Albert's way, but if you're absolutely forced to
doing it on the same line, you can try a few different things that I can
think of:
1. Play with Access' PivotTable features. I've never found them all that
useful, and very klunky to use, but it may get you where you're trying to
go. Don't ask me for more detailed info on how to do that, though, I
generally avoid PivotTables like the plague.
2. Implement a temporary table that goes across as you'd like it to, then
as each record is read/updated, transfer the values to/from the "real" table
in the OnCurrent and Before/AfterUpdate events.
3. Use an embedded control of some kind (Hierarchical FlexGrid?) to display
the data instead.
Good luck,
Rob
"Guy Horton" <guy.horton@.nospam.bigpond.com> wrote in message
news:%23RueVVwwFHA.2064@.TK2MSFTNGP09.phx.gbl...
> Currently working on an existing system written using an Access 2002
> project (.adp) and SQL Server 2000 and need to add some ehancements.
> The system is a leasing system where a customer leases one or more assets
> for a defined term (eg. 24, 36, 48 months...). Each lease may also be
> associated with a fixed, or variable monthly repayment regime.
> For example a customer wants to lease a Boat for 24 months for the first
> 12 months (period 1 - 12) they pay $50 per month, for period 13 - 18 they
> pay $35 per month, and for the last 6 months (period 19 - 24) they pay $25
> per month.
> The proposed table design is as follows:
> tblLease
> LeaseId int (identity) PK
> CustomerId FK
> TermId FK
> ...
> tblLeaseAsset (1:M relationship to tblLease)
> AssetId int PK
> LeaseId int PK/FK to tblLease
> AssetDescription
> ...
> tblLeaseAssetRate (Intersection table - 1:M relationship to tblLeaseAsset,
> 1:M relationship to tblLeaseTerm)
> AssetId int PK/FK
> TermPeriodId int PK/FK
> Payment decimal (19,4)
> ...
> tblLeasePeriodTerm (1:M relationship to tblLease)
> TermPeriodId int (identity) PK
> LeaseId int FK to tblLease
> FromTermPeriod small int
> ToTermPeriod small int
> ...
> Whilst the users are happy to enter the initial lease and period/term
> information as a Parent/Main form and Child/Subform combination. They
> would like to be able to enter the Asset and payment information together
> as a single Child/Subform:
> Period Period Period
> Asset Description 1 - 12 13 - 18 19 - ...
> A Boat $50 $35 $25
> The problem is that this requires a pivot table/cross tabulation type view
> of the data and these types of queries are not generally updatable.
> Does anyone have any ideas how I might achieve the objective either in
> terms of database, query or form design so that users can insert, update,
> delete and view records?
> Your assistance apreciated
> Guy Horton
>|||Albert,
Thank you for your excellent response. I reviewed your article and screen
shots and have to say they look very professional.
I briefly considered side by side subforms and agree with you that this is a
very workable option, and probably the option I will go with. Although, it
doesn't allow the users to view all lease rates for all the currently
visible leased assets, and they think of periods as running across as
opposed to down the form.
Your thoughts appreciated.
Best Regards,
Guy
"Albert D.Kallal" <PleaseNOOOsPAMmkallal@.msn.com> wrote in message
news:ukKGPmwwFHA.460@.TK2MSFTNGP15.phx.gbl...
> Well, for each "asset", you got
>
> AssetName AssetCost WherePurchased
> Boat $15,000 WalMart
> Car $5,000 MacDonalds
> etc.
> Now, just put another sub-form to the "right" of a above where you can
> enter "many" values for each of the above.
> If your cursor is in Boat, then you can enter:
> Period Amount
> 1 - 12 $50
> 13 - 18 $35
> etc.
> I can think of "many" cases where you got a detail line, and need "many"
> for that details. consider the QuickBooks when you write a single check,
> and a split amount, you need to "split" out the funds to "many" values.
> So, the solution is to make two side by side sub-forms.
> Take a look at the following screen shots, and especially the last one
> where I have a "classic" cheque "distribution" screen (for each
> check/person on the left, I can enter "many" split values for that
> particlar amount (donation in this example) on the right side...
> http://www.members.shaw.ca/AlbertKa...ticles/Grid.htm
> --
> Albert D. Kallal (Access MVP)
> Edmonton, Alberta Canada
> pleaseNOOSpamKallal@.msn.com
> http://www.members.shaw.ca/AlbertKallal
>|||Robert,
Thank you for your response. I agree that Albert's solution is the probably
the most sensible way to go, and that PivotTable features are klunky to use.
Your thoughts appreciated
Guy
"Robert Morley" <rmorley@.magma.ca.no.freakin.spam> wrote in message
news:eYrGDpxwFHA.3756@.tk2msftngp13.phx.gbl...
> I'd strongly recommend Albert's way, but if you're absolutely forced to
> doing it on the same line, you can try a few different things that I can
> think of:
> 1. Play with Access' PivotTable features. I've never found them all that
> useful, and very klunky to use, but it may get you where you're trying to
> go. Don't ask me for more detailed info on how to do that, though, I
> generally avoid PivotTables like the plague.
> 2. Implement a temporary table that goes across as you'd like it to, then
> as each record is read/updated, transfer the values to/from the "real"
> table in the OnCurrent and Before/AfterUpdate events.
> 3. Use an embedded control of some kind (Hierarchical FlexGrid?) to
> display the data instead.
>
> Good luck,
> Rob
> "Guy Horton" <guy.horton@.nospam.bigpond.com> wrote in message
> news:%23RueVVwwFHA.2064@.TK2MSFTNGP09.phx.gbl...
>

Wednesday, March 21, 2012

Fuzzy Grouping error when progress: Finding similar records

I get this errors when progress is : Finding similar records

[DTS.PIPELINE] Information: The buffer manager detected that the system was low on virtual mermory, but was unable to swap out any buffers. 6 buffers where considered and 6 where locked. Either not enough memory is available to the pipeline because not enough is installed, other processes are using it, or too many buffers are locked.

I'm triying to fuzzy match in a table with 1.000.000 records.

My computer RAM is 1GB.

How can I resolve the problem?

Tanks,

Eusebio.

There was a known memory issue in FuzzyLookup which will become more evident in certain circumstance(long running pkg against a large reference table) - FuzzyGrouping uses FuzzyLookup underneath, so it shares the problem. This was fixed for SP1.

For now you can try the possilbe work arounds of setting BufferTempStoragePath or/and inreasing virtual memory size which were discussed in this thread http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=122391&SiteID=1

Thanks

Wenyang

Funny SQL Server Error Messages - anyone has an explanation?

I am getting a new server online at a customer, and our system shows very funny erorrs under full load. No explanations could be found. Anyone has some?

Here we go:

Server failed to resume the transaction, desc: 360000054a. The transaction active in this session has been committed or aborted by another session.,

at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

and

New request is not allowed to start because it should come with valid transaction descriptor.

System.Data.SqlClient.SqlException

I am a little lost on those. Simple fact is that I do not find any description of those. Anyone an idea what causes these?

What's your SQL server version? It looks like a known issue with SQL2000. You can take a look at this article:http://support.microsoft.com/default.aspx?scid=kb;EN-US;834720#appliesto|||

2005, x64 version :-(

sql

Friday, February 24, 2012

Full-text search engine on SQL Server 2000

I have tried install Microsoft full-text search engine on SQL Server
2000 (Developer version). The operating system is XP Pro SP2,
with .net framework 2.0. With every variation I have tried to install
it I get:
"Installation of Microsoft Full-Text Search Engine Package Failed
(-2147220991) 0x80040201. An event was unable to invoke any of the
subscribers."
Any ideas?
Is this relevant?
http://www.kbalertz.com/Feedback_926997.aspx
"Denzyl" <daryl@.partridgesoftwaresolutions.com> wrote in message
news:1178736692.825863.109950@.n59g2000hsh.googlegr oups.com...
>I have tried install Microsoft full-text search engine on SQL Server
> 2000 (Developer version). The operating system is XP Pro SP2,
> with .net framework 2.0. With every variation I have tried to install
> it I get:
> "Installation of Microsoft Full-Text Search Engine Package Failed
> (-2147220991) 0x80040201. An event was unable to invoke any of the
> subscribers."
> Any ideas?
>
|||On 9 May, 20:42, "Hilary Cotter" <hilary.cot...@.gmail.com> wrote:
> Is this relevant?
> http://www.kbalertz.com/Feedback_926997.aspx
> "Denzyl" <d...@.partridgesoftwaresolutions.com> wrote in message
> news:1178736692.825863.109950@.n59g2000hsh.googlegr oups.com...
>
>
>
> - Show quoted text -
Thanks Hilary. Looked into this and appears that the original error
occurs whether .net framework 2 is installed or not.